Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigDefault = Config{ GCInterval: 10 * time.Second, }
ConfigDefault is the default config
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Time before deleting expired keys // // Default is 10 * time.Second GCInterval time.Duration }
Config defines the config for storage.
Click to show internal directories.
Click to hide internal directories.