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
Click to show internal directories.
Click to hide internal directories.