Documentation
¶
Index ¶
- type ResponsePane
- func (m *ResponsePane) ClearLoadTestStats()
- func (m ResponsePane) Init() tea.Cmd
- func (m *ResponsePane) SetFocused(focused bool)
- func (m *ResponsePane) SetHeight(height int)
- func (m *ResponsePane) SetLoadTestStats(stats *http.LoadTestStats)
- func (m *ResponsePane) SetResponse(response *http.Response)
- func (m *ResponsePane) SetWidth(width int)
- func (m *ResponsePane) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m ResponsePane) View() string
- type TabIndex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponsePane ¶
type ResponsePane struct {
Response *http.Response
LoadTestStats *http.LoadTestStats
// contains filtered or unexported fields
}
ResponsePane is the component responsible for displaying HTTP responses and load test statistics
func SetupResponsePane ¶
func SetupResponsePane(keys keybindings.KeyMap) ResponsePane
SetupResponsePane creates and initializes a new ResponsePane with default values
func (*ResponsePane) ClearLoadTestStats ¶
func (m *ResponsePane) ClearLoadTestStats()
ClearLoadTestStats clears load test data and switches back to normal mode
func (*ResponsePane) SetFocused ¶
func (m *ResponsePane) SetFocused(focused bool)
SetFocused sets the focused state of the response pane
func (*ResponsePane) SetHeight ¶
func (m *ResponsePane) SetHeight(height int)
SetHeight sets the height of the response pane
func (*ResponsePane) SetLoadTestStats ¶
func (m *ResponsePane) SetLoadTestStats(stats *http.LoadTestStats)
SetLoadTestStats updates the response pane with load test statistics
func (*ResponsePane) SetResponse ¶
func (m *ResponsePane) SetResponse(response *http.Response)
SetResponse updates the response pane with a new HTTP response
func (*ResponsePane) SetWidth ¶
func (m *ResponsePane) SetWidth(width int)
SetWidth sets the width of the response pane
Click to show internal directories.
Click to hide internal directories.