Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithMemStore ¶
func WithMemStore(m *MemStore) func(*choices.ElwinConfig) error
Types ¶
type MemStore ¶
type MemStore struct {
// contains filtered or unexported fields
}
func ExampleData ¶
func ExampleData() *MemStore
ExampleData creates a MemStore with some example data loaded into it.
func (*MemStore) AddNamespace ¶
AddNamespace adds the given namespace to the defaultStorage implementation. This is just a basic list of namespaces that is concurrency safe.
Click to show internal directories.
Click to hide internal directories.