Documentation
¶
Index ¶
- type SessionStorage
- func (p *SessionStorage) GetSession(msg *spirit.Payload) (result interface{}, err error)
- func (p *SessionStorage) SetExpireSeconds(seconds int32)
- func (p *SessionStorage) SetSession(msg *spirit.Payload) (result interface{}, err error)
- func (p *SessionStorage) SetStorage(storage cache_storages.CacheStorage) *SessionStorage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionStorage ¶
type SessionStorage struct {
// contains filtered or unexported fields
}
func NewSessionStorage ¶
func NewSessionStorage(storage cache_storages.CacheStorage) *SessionStorage
func (*SessionStorage) GetSession ¶
func (p *SessionStorage) GetSession(msg *spirit.Payload) (result interface{}, err error)
func (*SessionStorage) SetExpireSeconds ¶
func (p *SessionStorage) SetExpireSeconds(seconds int32)
func (*SessionStorage) SetSession ¶
func (p *SessionStorage) SetSession(msg *spirit.Payload) (result interface{}, err error)
func (*SessionStorage) SetStorage ¶
func (p *SessionStorage) SetStorage(storage cache_storages.CacheStorage) *SessionStorage
Click to show internal directories.
Click to hide internal directories.