Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestModel ¶
type RequestModel struct {
Hovered bool
Viewport viewport.Model
ViewportReady bool
TextArea textarea.Model
TableHeaders table.Model
KeyInput textinput.Model
ValueInput textinput.Model
Headers []Header
FocusedTab RequestTab
RequestHeight int
RequestWidth int
}
func New ¶
func New() RequestModel
func (RequestModel) Init ¶
func (m RequestModel) Init() tea.Cmd
func (RequestModel) Update ¶
func (m RequestModel) Update(msg tea.Msg) (RequestModel, tea.Cmd)
func (RequestModel) View ¶
func (m RequestModel) View() string
type RequestTab ¶
type RequestTab int
const ( Body RequestTab = iota Headers )
func (RequestTab) String ¶
func (r RequestTab) String() string
Click to show internal directories.
Click to hide internal directories.