Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Initialize instantiates the storage provider based on the Config provider
Types ¶
type Config ¶
type Config struct { // File is the path of the file to use for persistence // If blank, persistence is disabled // // XXX: Rename to path for v4.0.0 File string `yaml:"file"` // Type of store // If blank, uses the default in-memory store Type Type `yaml:"type"` }
Config is the configuration for storage
Click to show internal directories.
Click to hide internal directories.