Documentation ¶
Index ¶
- type BoltStore
- func (b *BoltStore) Close() error
- func (b *BoltStore) Create(ctx context.Context, set, key string, val []byte) error
- func (b *BoltStore) DB() *bbolt.DB
- func (b *BoltStore) Delete(ctx context.Context, set, key string) error
- func (b *BoltStore) Get(ctx context.Context, set, key string) ([]byte, error)
- func (b *BoltStore) Set(ctx context.Context, set, key string, val []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltStore ¶
type BoltStore struct {
// contains filtered or unexported fields
}
func NewBoltStore ¶
NewBoltStore returns a new BoltStore. If nil options are provided a default is used.
func (*BoltStore) DB ¶
DB will return the underlying bolt DB. This should not be modified once the server has started.
Click to show internal directories.
Click to hide internal directories.