Documentation ¶
Index ¶
- func WithClock(clock clock.Clock) func(store *Store)
- func WithDirectory(directory string) func(store *Store)
- func WithGetStateFunc(f func() map[int]map[string]internal.KeyData) func(store *Store)
- func WithReadWriter(rw ReadWriter) func(store *Store)
- func WithSetKeyDataFunc(f func(database int, key string, data internal.KeyData)) func(store *Store)
- type ReadWriter
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDirectory ¶
func WithGetStateFunc ¶
func WithReadWriter ¶
func WithReadWriter(rw ReadWriter) func(store *Store)
Types ¶
type ReadWriter ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func NewPreambleStore ¶
func (*Store) CreatePreamble ¶
Click to show internal directories.
Click to hide internal directories.