Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Persistence ¶
type Persistence interface { MapAll(ctx context.Context) map[string][]*entry.Entry ListAll(ctx context.Context) []*entry.Entry List(ctx context.Context, collection string) []*entry.Entry Collections(ctx context.Context, prefix string) []string Store(e *entry.Entry) error }
func Load ¶
func Load(cfg Config) (Persistence, error)
Click to show internal directories.
Click to hide internal directories.