Documentation ¶
Index ¶
- type CommandListener
- type Context
- type Credential
- type CredentialStore
- type Executor
- type Extension
- type SQLStorage
- func (s *SQLStorage) GetLatestTime(ctx context.Context, entity interface{}, tenant interface{}) (time.Time, error)
- func (s *SQLStorage) Init(ctx context.Context) error
- func (s *SQLStorage) Insert(ctx context.Context, batch interface{}) error
- func (s *SQLStorage) Unmask() *gorm.DB
- func (s *SQLStorage) UpdateAccounts(ctx context.Context, accounts []external.Account) error
- type Storage
- type Sync
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandListener ¶
type CommandListener struct { *Context flu.Clock *core.ControlButtons Credentials CredentialStore Executors []Executor }
func (*CommandListener) AuthorizedUserIDs ¶
func (l *CommandListener) AuthorizedUserIDs() map[telegram.ID]bool
func (*CommandListener) Update_bank_statement ¶
type Credential ¶
type Credential struct {
Username, Password string
}
type CredentialStore ¶
type CredentialStore map[telegram.ID]Credential
type SQLStorage ¶
func (*SQLStorage) GetLatestTime ¶
func (*SQLStorage) Insert ¶
func (s *SQLStorage) Insert(ctx context.Context, batch interface{}) error
func (*SQLStorage) Unmask ¶
func (s *SQLStorage) Unmask() *gorm.DB
func (*SQLStorage) UpdateAccounts ¶
Click to show internal directories.
Click to hide internal directories.