method

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 4 Imported by: 0

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))
View Source
var PutStyle = lipgloss.
	NewStyle().
	Bold(true).
	Foreground(lipgloss.Color(utils.BlueColor))

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL