Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DB ¶
type DB interface { Batch(fn func(*bbolt.Tx) error) error Begin(writable bool) (*bbolt.Tx, error) Compact(ctx context.Context, opts map[string]interface{}) (old uint64, new uint64, err error) Close(ctx context.Context) error CloseAndDrop(ctx context.Context) error GoString() string Info() *bbolt.Info IsReadOnly() bool Path() string Stats() bbolt.Stats String() string Sync() error Update(fn func(*bbolt.Tx) error) error View(fn func(*bbolt.Tx) error) error }
Click to show internal directories.
Click to hide internal directories.