requests

package
v0.0.0-...-5793855 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequestListWidth = 20
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestListModel

type RequestListModel struct {
	Selected           bool
	SelectedRequest    rq.Request
	HighlightedRequest rq.Request
	// contains filtered or unexported fields
}

func NewRequestList

func NewRequestList(fileData rq.FileData, width, height int) RequestListModel

func (RequestListModel) Init

func (m RequestListModel) Init() tea.Cmd

func (*RequestListModel) Update

func (m *RequestListModel) Update(msg tea.Msg) (RequestListModel, tea.Cmd)

func (RequestListModel) View

func (m RequestListModel) View() string

type RequestModel

type RequestModel struct {
	// contains filtered or unexported fields
}

func NewRequestModel

func NewRequestModel(req rq.Request, width, height int) RequestModel

func (RequestModel) Init

func (m RequestModel) Init() tea.Cmd

func (*RequestModel) SetEnvFile

func (m *RequestModel) SetEnvFile(path string)

func (*RequestModel) SetEnvironment

func (m *RequestModel) SetEnvironment(env map[string]string)

func (RequestModel) Update

func (m RequestModel) Update(msg tea.Msg) (RequestModel, tea.Cmd)

func (RequestModel) View

func (m RequestModel) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL