Documentation
¶
Overview ¶
Package control is control.db: accounts, API tokens, sessions, share links, and the mail outbox. It implements the core store ports.
Index ¶
Constants ¶
View Source
const FileName = "control.db"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func Open ¶
Open opens or creates <dataDir>/control.db and applies pending migrations. The server and the admin commands both open it; WAL and busy_timeout make them wait on each other instead of failing.
func (*Store) Accounts ¶
func (s *Store) Accounts() core.AccountStore
func (*Store) Outbox ¶
func (s *Store) Outbox() core.OutboxStore
func (*Store) Sessions ¶
func (s *Store) Sessions() core.SessionStore
func (*Store) Shares ¶
func (s *Store) Shares() core.ShareStore
func (*Store) Tokens ¶
func (s *Store) Tokens() core.TokenStore
Source Files
¶
Click to show internal directories.
Click to hide internal directories.