Versions in this module Expand all Collapse all v0 v0.0.1 Sep 14, 2022 Changes in this version + const NAME + func Clear() error + func Configure(cfg Map) + func Delete(id string) error + func Go() + func Read(id string) (Map, error) + func Ready() + func Register(name string, value Any, overrides ...bool) + func Write(id string, value Map, expiries ...time.Duration) error + type Config struct + Driver string + Expiry time.Duration + Prefix string + Setting Map + Weight int + type Configs map[string]Config + type Connect interface + Clear func(perfix string) error + Close func() error + Delete func(id string) error + Open func() error + Read func(id string) (Map, error) + Write func(id string, value Map, expiry time.Duration) error + type Driver interface + Connect func(name string, config Config) (Connect, error) + type Instance struct + type Module struct + func (module *Module) Driver(name string, driver Driver, override bool) + func (this *Module) Clear() error + func (this *Module) Config(name string, config Config, override bool) + func (this *Module) Configs(config Configs, override bool) + func (this *Module) Configure(global Map) + func (this *Module) Connect() + func (this *Module) Delete(id string) error + func (this *Module) Initialize() + func (this *Module) Launch() + func (this *Module) Read(id string) (Map, error) + func (this *Module) Register(name string, value Any, override bool) + func (this *Module) Terminate() + func (this *Module) Write(id string, value Map, expiries ...time.Duration) error