Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDBError = errors.New("database error") ErrNotFoundKey = errors.New("couldn't find the key") ErrEmptyKey = errors.New("key cannot be empty") ErrEmptyValue = errors.New("username cannot be empty") ErrEmptyBucket = errors.New("empty bucket") ErrForbidden = errors.New("unable to modify this resource") )
Functions ¶
func NewKeysRepository ¶
func NewKeysRepository(db *bbolt.DB) keys.Repository
NewKeysRepository creates a keys.Repository from the Bolt DB `db`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.