Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeleteStyle = lipgloss. NewStyle(). Bold(true). Foreground(lipgloss.Color(utils.RedColor))
View Source
var GetStyle = lipgloss. NewStyle(). Bold(true). Foreground(lipgloss.Color(utils.GreenColor))
View Source
var PatchStyle = lipgloss. NewStyle(). Bold(true). Foreground(lipgloss.Color(utils.PurpleColor))
View Source
var PostStyle = lipgloss. NewStyle(). Bold(true). Foreground(lipgloss.Color(utils.OrangeColor))
Functions ¶
This section is empty.
Types ¶
type ActiveState ¶
type ActiveState int
const ( GET ActiveState = iota POST PUT PATCH DELETE )
func (ActiveState) String ¶
func (s ActiveState) String() string
type MethodModel ¶
type MethodModel struct {
ActiveState ActiveState
OverlayActive bool
// contains filtered or unexported fields
}
func New ¶
func New() MethodModel
func (MethodModel) Init ¶
func (m MethodModel) Init() tea.Cmd
func (MethodModel) Update ¶
func (m MethodModel) Update(msg tea.Msg) (MethodModel, tea.Cmd)
func (MethodModel) View ¶
func (m MethodModel) View() string
Click to show internal directories.
Click to hide internal directories.