Documentation ¶
Overview ¶
Package bbolt supports randomizer storage in a local bbolt database file.
Index ¶
- func FactoryFromEnv() (func(string) randomizer.Store, error)
- type Store
- func (b Store) Delete(_ context.Context, name string) (existed bool, err error)
- func (b Store) Get(_ context.Context, name string) (options []string, err error)
- func (b Store) List(_ context.Context) (groups []string, err error)
- func (b Store) Put(_ context.Context, name string, options []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FactoryFromEnv ¶
func FactoryFromEnv() (func(string) randomizer.Store, error)
FactoryFromEnv returns a store.Factory whose stores are backed by a local Bolt database (using the CoreOS "bbolt" fork).
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a store backed by a bbolt database.
Click to show internal directories.
Click to hide internal directories.