Versions in this module Expand all Collapse all v0 v0.5.0 Mar 30, 2020 v0.4.0 Nov 14, 2019 Changes in this version + const BackendKey + const ConnectionKey + func NewPathStorage(pdbConf PathDBConf, rcConf RevCacheConf) (pathdb.PathDB, revcache.RevCache, error) + type Backend string + const BackendMem + const BackendNone + const BackendSqlite + type PathDBConf map[string]string + func (cfg *PathDBConf) Backend() Backend + func (cfg *PathDBConf) ConfigName() string + func (cfg *PathDBConf) Connection() string + func (cfg *PathDBConf) InitDefaults() + func (cfg *PathDBConf) MaxIdleConns() (int, bool) + func (cfg *PathDBConf) MaxOpenConns() (int, bool) + func (cfg *PathDBConf) Sample(dst io.Writer, _ config.Path, ctx config.CtxMap) + func (cfg *PathDBConf) Validate() error + type RevCacheConf map[string]string + func (cfg *RevCacheConf) Backend() Backend + func (cfg *RevCacheConf) ConfigName() string + func (cfg *RevCacheConf) Connection() string + func (cfg *RevCacheConf) InitDefaults() + func (cfg *RevCacheConf) MaxIdleConns() (int, bool) + func (cfg *RevCacheConf) MaxOpenConns() (int, bool) + func (cfg *RevCacheConf) Sample(dst io.Writer, _ config.Path, _ config.CtxMap) + func (cfg *RevCacheConf) Validate() error