Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Persistence ¶
type Persistence interface { Init(context.Context) error Read(context.Context) (PublicShares, error) Write(context.Context, PublicShares) error }
Persistence defines the interface for the json publicshare manager persistence layers
type PublicShares ¶
type PublicShares map[string]interface{}
PublicShares is a map indexing publicshares by their ids
Click to show internal directories.
Click to hide internal directories.