Documentation ¶
Index ¶
- Variables
- type Client
- func (client *Client) Close() error
- func (client *Client) Delete(key storage.Key) error
- func (client *Client) Get(key storage.Key) (storage.Value, error)
- func (client *Client) GetAll(keys storage.Keys) (storage.Values, error)
- func (client *Client) Iterate(opts storage.IterateOptions, fn func(storage.Iterator) error) error
- func (client *Client) List(first storage.Key, limit int) (storage.Keys, error)
- func (client *Client) Put(key storage.Key, value storage.Value) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Error = errs.Class("boltdb error")
Error is the default boltdb errs class
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is the entrypoint into a bolt data store
func (*Client) Get ¶
Get looks up the provided key from boltdb returning either an error or the result.
func (*Client) GetAll ¶
GetAll finds all values for the provided keys (up to storage.LookupLimit). If more keys are provided than the maximum, an error will be returned.
Click to show internal directories.
Click to hide internal directories.