Documentation
¶
Index ¶
- type CursorAccount
- type CursorSync
- func (cs *CursorSync) AddAccount(account *CursorAccount)
- func (cs *CursorSync) GetActiveAccount() *CursorAccount
- func (cs *CursorSync) Init() error
- func (cs *CursorSync) ListAccounts() []*CursorAccount
- func (cs *CursorSync) Status() map[string]interface{}
- func (cs *CursorSync) SwitchAccount(id string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CursorAccount ¶
type CursorSync ¶
type CursorSync struct {
// contains filtered or unexported fields
}
func NewCursorSync ¶
func NewCursorSync(db *sql.DB) *CursorSync
func (*CursorSync) AddAccount ¶
func (cs *CursorSync) AddAccount(account *CursorAccount)
func (*CursorSync) GetActiveAccount ¶
func (cs *CursorSync) GetActiveAccount() *CursorAccount
func (*CursorSync) Init ¶
func (cs *CursorSync) Init() error
func (*CursorSync) ListAccounts ¶
func (cs *CursorSync) ListAccounts() []*CursorAccount
func (*CursorSync) Status ¶
func (cs *CursorSync) Status() map[string]interface{}
func (*CursorSync) SwitchAccount ¶
func (cs *CursorSync) SwitchAccount(id string) error
Click to show internal directories.
Click to hide internal directories.