Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately.
func GetConfigFile ¶
func GetConfigFile() string
GetConfigFile returns the path to the config file in use
Types ¶
type HistoryItem ¶ added in v0.2.10
type HistoryItem struct {
Request models.HistoricalHttpRequest
Index int // 0-based index
}
HistoryItem implements tui.Item for historical requests
func (HistoryItem) Description ¶ added in v0.2.10
func (h HistoryItem) Description() string
Description returns the timestamp
func (HistoryItem) FilterValue ¶ added in v0.2.10
func (h HistoryItem) FilterValue() string
FilterValue returns the string used for fuzzy matching
func (HistoryItem) String ¶ added in v0.2.15
func (h HistoryItem) String() string
String returns formatted string for display: [index] title description
func (HistoryItem) Title ¶ added in v0.2.10
func (h HistoryItem) Title() string
Title returns the main display text (method and URL)
type RequestItem ¶ added in v0.2.10
type RequestItem struct {
Request *models.HttpRequest
Index int // 0-based index
}
RequestItem implements tui.Item for HTTP requests
func (RequestItem) Description ¶ added in v0.2.10
func (r RequestItem) Description() string
Description returns the request name
func (RequestItem) FilterValue ¶ added in v0.2.10
func (r RequestItem) FilterValue() string
FilterValue returns the string used for fuzzy matching
func (RequestItem) String ¶ added in v0.2.15
func (r RequestItem) String() string
String returns formatted string for display: [index] title description
func (RequestItem) Title ¶ added in v0.2.10
func (r RequestItem) Title() string
Title returns the main display text (method and URL)