Documentation ¶
Index ¶
- Constants
- 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
- type Configs
- type Connect
- type Driver
- type Instance
- type Module
- 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 (module *Module) Driver(name string, driver Driver, override bool)
- 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
Constants ¶
View Source
const (
NAME = "SESSION"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connect ¶
type Connect interface { Open() error Close() error Read(id string) (Map, error) Write(id string, value Map, expiry time.Duration) error Delete(id string) error Clear(perfix string) error }
Connect 会话连接
Click to show internal directories.
Click to hide internal directories.