Documentation
¶
Index ¶
- func SetTableCell(title string, width int, color tcell.Color, selectable bool) *tview.TableCell
- type Gui
- func (g *Gui) GetRequestUrl() string
- func (g *Gui) HttpRequest(url string) *http.Response
- func (g *Gui) Modal(p tview.Primitive, width, height int) tview.Primitive
- func (g *Gui) NewHTTPListModal()
- func (g *Gui) NewInputModal(table *table)
- func (g *Gui) ParseResponse(resp *http.Response) string
- func (g *Gui) Run(i interface{}) error
- func (g *Gui) ToBodyTable()
- func (g *Gui) ToFocus()
- func (g *Gui) ToHTTPFieldFocus()
- func (g *Gui) ToParamsTableFocus()
- func (g *Gui) ToResTextField()
- func (g *Gui) ToUrlFieldFocus()
- type Param
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Gui ¶
type Gui struct { App *tview.Application Pages *tview.Pages UrlField *urlField ParamsTable *table BodyTable *table ResTextView *resTestView HTTPTextView *httpTestView }
func (*Gui) GetRequestUrl ¶
func (*Gui) NewHTTPListModal ¶
func (g *Gui) NewHTTPListModal()
func (*Gui) NewInputModal ¶
func (g *Gui) NewInputModal(table *table)
func (*Gui) ToBodyTable ¶
func (g *Gui) ToBodyTable()
func (*Gui) ToHTTPFieldFocus ¶
func (g *Gui) ToHTTPFieldFocus()
func (*Gui) ToParamsTableFocus ¶
func (g *Gui) ToParamsTableFocus()
func (*Gui) ToResTextField ¶
func (g *Gui) ToResTextField()
func (*Gui) ToUrlFieldFocus ¶
func (g *Gui) ToUrlFieldFocus()
Click to show internal directories.
Click to hide internal directories.