Documentation ¶
Index ¶
- type BoltStore
- func (s *BoltStore) Close() error
- func (s *BoltStore) DeleteAccount(uuid string) (int, error)
- func (s *BoltStore) GetAccountByEmail(email string) (*account.Account, error)
- func (s *BoltStore) LoadAccount(uuid string) (*account.Account, error)
- func (s *BoltStore) LoadAllAccounts() ([]*account.Account, error)
- func (s *BoltStore) SaveAccount(acc *account.Account) (*account.Account, error)
- func (s *BoltStore) Status() (int, string)
- type BoltStoreOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltStore ¶
type BoltStore struct { C *bolt.DB BoltStoreOptions // contains filtered or unexported fields }
func NewBoltStore ¶
func NewBoltStore(options *BoltStoreOptions) *BoltStore
func (*BoltStore) GetAccountByEmail ¶
func (*BoltStore) LoadAccount ¶
func (*BoltStore) LoadAllAccounts ¶
func (*BoltStore) SaveAccount ¶
type BoltStoreOptions ¶
Click to show internal directories.
Click to hide internal directories.