Documentation ¶
Index ¶
- Variables
- func EnterString(m tea.Model, keys string) tea.Model
- func GetDefaultListDelegate() list.DefaultDelegate
- func NavigateLeft() tea.Msg
- func NavigateRight() tea.Msg
- type Address
- type Bookmark
- type Client
- type Cookie
- type DbPersistence
- func (d DbPersistence) AnnotateHistory(id uint, annotation string) error
- func (d DbPersistence) GetBookmark(name string) (Bookmark, error)
- func (d DbPersistence) GetBookmarks() []Bookmark
- func (d DbPersistence) GetHistory() []History
- func (d DbPersistence) GetRawCookies() string
- func (d DbPersistence) SaveBookmark(bookmark Bookmark)
- func (d DbPersistence) SaveHistory(history History)
- func (d DbPersistence) SaveRawCookies(rawCookie string)
- type DefaultClient
- type Event
- type FreeTextCommand
- type History
- type Keymap
- type Mode
- type Pair
- type Persistence
- type Prettier
- type Request
- type RequestError
- type Response
- type ShortMessage
- type Status
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ColorDanger = lipgloss.Color("#F25D94") ColorOk = lipgloss.AdaptiveColor{Light: "#43BF6D", Dark: "#73F59F"} )
View Source
var ( ANSIBlack = "0" ANSIRed = "1" ANSIGreen = "2" ANSIYellow = "3" ANSIBlue = "4" ANSIMagenta = "5" ANSICyan = "6" ANSIWhite = "7" ANSIBrightBlack = "8" ANSIBrightRed = "9" ANSIBrightGreen = "10" ANSIBrightYellow = "11" ANSIBrightBlue = "12" ANSIBrightMagenta = "13" ANSIBrightCyan = "14" ANSIBrightWhite = "15" ANSILightRed = "203" ANSILightGray = "248" )
ANSI Color Definitions
Functions ¶
func EnterString ¶
func EnterString(m tea.Model, keys string) tea.Model
func GetDefaultListDelegate ¶
func GetDefaultListDelegate() list.DefaultDelegate
func NavigateLeft ¶
func NavigateLeft() tea.Msg
func NavigateRight ¶
func NavigateRight() tea.Msg
Types ¶
type DbPersistence ¶
type DbPersistence struct {
// contains filtered or unexported fields
}
func NewDbPersistence ¶
func NewDbPersistence() (DbPersistence, error)
func (DbPersistence) AnnotateHistory ¶
func (d DbPersistence) AnnotateHistory(id uint, annotation string) error
func (DbPersistence) GetBookmark ¶
func (d DbPersistence) GetBookmark(name string) (Bookmark, error)
func (DbPersistence) GetBookmarks ¶
func (d DbPersistence) GetBookmarks() []Bookmark
func (DbPersistence) GetHistory ¶
func (d DbPersistence) GetHistory() []History
func (DbPersistence) GetRawCookies ¶
func (d DbPersistence) GetRawCookies() string
func (DbPersistence) SaveBookmark ¶
func (d DbPersistence) SaveBookmark(bookmark Bookmark)
func (DbPersistence) SaveHistory ¶
func (d DbPersistence) SaveHistory(history History)
func (DbPersistence) SaveRawCookies ¶
func (d DbPersistence) SaveRawCookies(rawCookie string)
type DefaultClient ¶
type DefaultClient struct {
// contains filtered or unexported fields
}
func NewHttpClient ¶
func NewHttpClient(rawCookies string) DefaultClient
func (DefaultClient) GetRawCookies ¶
func (c DefaultClient) GetRawCookies() string
func (DefaultClient) MakeRequest ¶
func (c DefaultClient) MakeRequest(request Request) (Response, error)
type FreeTextCommand ¶
type FreeTextCommand string
type History ¶
type Keymap ¶
func DefaultKeyBinds ¶
func DefaultKeyBinds() Keymap
type Persistence ¶
type Prettier ¶
type Prettier struct {
// contains filtered or unexported fields
}
func ColoredPrettier ¶
func ColoredPrettier() Prettier
func NoColorPrettier ¶
func NoColorPrettier() Prettier
type RequestError ¶
type Response ¶
type ShortMessage ¶
type ShortMessage string // SMS
Click to show internal directories.
Click to hide internal directories.