Documentation ¶ Index ¶ type AccountProvider type List func NewList(clientID, apiHost string, accountProvider AccountProvider, keymap save.KeyMap, ...) List func (l List) Init() tea.Cmd func (l List) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (l List) View() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type AccountProvider ¶ type AccountProvider interface { GetAllAccounts() ([]save.Account, error) GetAccountBy(id string) (save.Account, error) UpdateTokensFor(id, accessToken, refreshToken string) error MarkAccountAsMain(id string) error Remove(id string) error Add(account save.Account) error } type List ¶ type List struct { // contains filtered or unexported fields } func NewList ¶ func NewList(clientID, apiHost string, accountProvider AccountProvider, keymap save.KeyMap, theme save.Theme) List func (List) Init ¶ func (l List) Init() tea.Cmd func (List) Update ¶ func (l List) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (List) View ¶ func (l List) View() string Source Files ¶ View all Source files create.golist.goprovider.go Click to show internal directories. Click to hide internal directories.