Documentation ¶
Index ¶
- type Config
- type Store
- func (s *Store) DB() *store.LocalDB
- func (s *Store) Shutdown()
- func (s *Store) Update(fn func(store.Txn) error) error
- func (s *Store) UpdateLocal(fn func(txn *store.LTxn) error) error
- func (s *Store) View(fn func(store.Txn) error) error
- func (s *Store) ViewLocal(fn func(txn *store.LTxn) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DirPath string ConflictRetries int ConflictMaxInterval time.Duration BatchWorkers int BatchSize int }
func DefaultConfig ¶
Click to show internal directories.
Click to hide internal directories.