Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCache ¶
func NewCache(config common.CacheConfig) (types.Cacher, error)
NewCache creates a new cache from a cache config
func NewStorageUnitFromConf ¶
func NewStorageUnitFromConf(cacheConf common.CacheConfig, dbConf common.DBConfig) (*storageUnit.Unit, error)
NewStorageUnitFromConf creates a new storage unit from a storage unit config
Types ¶
Click to show internal directories.
Click to hide internal directories.