createkey

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPublicKeyValid

func IsPublicKeyValid(key string) bool

Types

type KeyInvalidMsg

type KeyInvalidMsg struct{}

type KeySetMsg

type KeySetMsg string

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.

Jump to

Keyboard shortcuts

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