Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLogin = errors.New("login failed")
View Source
var ErrNoSelection = errors.New("no selection")
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Banner string `cfg:"banner"` Tabs []Auth `cfg:"tabs"` Selected string `cfg:"selected"` }
func (Action) GetTabNames ¶
func (*Action) TabSelected ¶
type LoginModel ¶
type LoginModel struct {
// contains filtered or unexported fields
}
func NewLoginModel ¶
func NewLoginModel(action Action) *LoginModel
func (LoginModel) Init ¶
func (m LoginModel) Init() tea.Cmd
func (*LoginModel) Initialize ¶
func (m *LoginModel) Initialize(cfg model.Config) tea.Cmd
func (*LoginModel) SetIndex ¶
func (m *LoginModel) SetIndex(index model.Index)
func (LoginModel) View ¶
func (m LoginModel) View() string
Click to show internal directories.
Click to hide internal directories.