Documentation
¶
Index ¶
- func Alert(ctx context.Context, top, bottom, left, right, align int, clearInterval int64) (alert *tview.TextView, ch chan string)
- func Copyright(align int) *tview.TextView
- func Login(ctx context.Context, service client.GophKeeperService, mLogger *logger.Logger) (user *model.User, err error)
- func Manager(ctx context.Context, user *model.User, service client.GophKeeperService, ...) (err error)
- type Component
- type TUI
- func (r *TUI) Cards(ctx context.Context, user *model.User, service client.GophKeeperService) *tview.Flex
- func (r *TUI) FileBrowser(form *tview.Form, downloadFolder string) *tview.TreeView
- func (r *TUI) Files(ctx context.Context, user *model.User, service client.GophKeeperService, ...) *tview.Flex
- func (r *TUI) Logins(ctx context.Context, user *model.User, service client.GophKeeperService) *tview.Flex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Alert ¶
func Alert(ctx context.Context, top, bottom, left, right, align int, clearInterval int64) (alert *tview.TextView, ch chan string)
Alert выводит сообщение в заголовке интерфейса
Types ¶
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
Component структура данных компонента текстового интерфейса
type TUI ¶
type TUI struct {
// contains filtered or unexported fields
}
TUI структура данных приложения текстового интерфейса
func (*TUI) Cards ¶
func (r *TUI) Cards(ctx context.Context, user *model.User, service client.GophKeeperService) *tview.Flex
Cards компонент реализует текстовый интерфейс CRUD для банковских карт
func (*TUI) FileBrowser ¶
Click to show internal directories.
Click to hide internal directories.