createtoken

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	Done bool
	Quit bool
	// contains filtered or unexported fields
}

func NewModel

func NewModel(cfg *config.ConfigCms, dbpool db.DB, user *db.User) Model

NewModel returns a new username model in its initial state.

func (Model) Init

func (m Model) Init() tea.Cmd

Init is the Bubble Tea initialization function.

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update is the Bubble Tea update loop.

func (Model) View

func (m Model) View() string

View renders current view from the model.

type TokenDismissed

type TokenDismissed int

type TokenSetMsg

type TokenSetMsg struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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