models

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SignInChecker

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

func (*SignInChecker) Init

func (m *SignInChecker) Init() tea.Cmd

func (*SignInChecker) Update

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

func (*SignInChecker) View

func (m *SignInChecker) View() string

type SignInPreamble

type SignInPreamble struct {
	Message string
}

func (SignInPreamble) Init

func (SignInPreamble) Init() tea.Cmd

func (SignInPreamble) Update

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

func (SignInPreamble) View

func (m SignInPreamble) View() string

type SignInPrompt

type SignInPrompt struct {
	ConfirmCh       chan<- struct{}
	InClipboard     bool
	UserCode        string
	VerificationURL string
}

func (SignInPrompt) Init

func (SignInPrompt) Init() tea.Cmd

func (*SignInPrompt) Update

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

func (*SignInPrompt) View

func (m *SignInPrompt) View() string

type SignOutPreamble

type SignOutPreamble struct{}

func (SignOutPreamble) Init

func (SignOutPreamble) Init() tea.Cmd

func (*SignOutPreamble) Update

func (m *SignOutPreamble) Update(tea.Msg) (tea.Model, tea.Cmd)

func (*SignOutPreamble) View

func (m *SignOutPreamble) View() string

type SignOutSuccess

type SignOutSuccess struct{}

func (SignOutSuccess) Init

func (SignOutSuccess) Init() tea.Cmd

func (*SignOutSuccess) Update

func (m *SignOutSuccess) Update(tea.Msg) (tea.Model, tea.Cmd)

func (*SignOutSuccess) View

func (m *SignOutSuccess) View() string

type UserSignInMsg

type UserSignInMsg string

Jump to

Keyboard shortcuts

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