Documentation
¶
Index ¶
- func Render(background string, foreground string) string
- type Buffer
- type BufferModalModel
- type MainModel
- func (m MainModel) BlurAll() MainModel
- func (m MainModel) BufferNavigation(msg tea.Msg) (MainModel, tea.Cmd)
- func (m MainModel) ChangeBuffer(id string) MainModel
- func (m MainModel) DeleteBuffer(id string) (MainModel, tea.Cmd)
- func (m MainModel) HandleHttpRequest() tea.Msg
- func (m MainModel) Init() tea.Cmd
- func (m MainModel) StartRequest() (MainModel, tea.Cmd)
- func (m MainModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m MainModel) View() string
- type Model
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Buffer ¶ added in v1.0.0
func CreateNewBuffer ¶ added in v1.0.0
func CreateNewBuffer() Buffer
type BufferModalModel ¶ added in v1.0.0
type MainModel ¶
type MainModel struct {
WindowWidth int
WindowHeight int
Model
ActiveBufferId string
Buffers []Buffer
IndexBuffers map[string]int
BufferModalModel BufferModalModel
}
func (MainModel) BufferNavigation ¶ added in v1.0.0
func (MainModel) ChangeBuffer ¶ added in v1.0.0
save old buffer and change the active buffer into new buffer
func (MainModel) DeleteBuffer ¶ added in v1.0.0
func (MainModel) HandleHttpRequest ¶
type Model ¶ added in v1.0.0
type Model struct {
UrlModel url.UrlModel
HintModel hint.HintModel
MethodModel method.MethodModel
ResponseModel response.ResponseModel
RequestModel request.RequestModel
HelpModel help.HelpModel
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.