Documentation ¶
Index ¶
- type MemCachePlugin
- type Plugin
- func (this *Plugin) Capability() htypes.Any
- func (this *Plugin) Clear(bucket string) *cache.Cache
- func (this *Plugin) Config() core.IEntityConf
- func (this *Plugin) EntityStub() *core.EntityStub
- func (this *Plugin) GetCache(bucket string) *cache.Cache
- func (this *Plugin) GetValue(bucket, key string) (interface{}, bool)
- func (this *Plugin) Open(s core.IServer, ins core.IPlugin) *herrors.Error
- func (this *Plugin) RemoveValue(bucket, key string)
- func (this *Plugin) Revoke(bucket, key string)
- func (this *Plugin) SetValue(bucket, key string, val interface{}, duration ...time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemCachePlugin ¶
type MemCachePlugin struct { core.PluginConf ExpireDuration int CleanupDuration int }
type Plugin ¶
type Plugin struct { core.BasePlugin // contains filtered or unexported fields }
func (*Plugin) Capability ¶
func (*Plugin) Config ¶
func (this *Plugin) Config() core.IEntityConf
func (*Plugin) EntityStub ¶
func (this *Plugin) EntityStub() *core.EntityStub
func (*Plugin) RemoveValue ¶
Click to show internal directories.
Click to hide internal directories.