Documentation ¶
Index ¶
- type Config
- type Store
- func (s *Store) DB() *store.LocalDB
- func (s *Store) Shutdown()
- func (s *Store) Update(fn func(txn rony.StoreTxn) error) error
- func (s *Store) UpdateLocal(fn func(txn *rony.StoreLocalTxn) error) error
- func (s *Store) View(fn func(rony.StoreTxn) error) error
- func (s *Store) ViewLocal(fn func(txn *rony.StoreLocalTxn) 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 ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) UpdateLocal ¶
func (s *Store) UpdateLocal(fn func(txn *rony.StoreLocalTxn) error) error
Click to show internal directories.
Click to hide internal directories.