Documentation ¶
Index ¶
- type CacheStore
- func (c *CacheStore) Delete(session *sessions.Session) error
- func (c *CacheStore) Get(r *http.Request, name string) (*sessions.Session, error)
- func (c *CacheStore) GetPluginClient() PluginClient
- func (c *CacheStore) New(r *http.Request, name string) (*sessions.Session, error)
- func (c *CacheStore) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error
- type PluginClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheStore ¶ added in v1.0.0
type CacheStore struct { Options *sessions.Options StoreMutex sync.RWMutex // contains filtered or unexported fields }
func NewStore ¶
func NewStore(c cache.Cache, pluginClient PluginClient, codec ...[]byte) *CacheStore
func (*CacheStore) Delete ¶ added in v1.0.0
func (c *CacheStore) Delete(session *sessions.Session) error
func (*CacheStore) GetPluginClient ¶ added in v1.0.0
func (c *CacheStore) GetPluginClient() PluginClient
func (*CacheStore) Save ¶ added in v1.0.0
func (c *CacheStore) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error
type PluginClient ¶ added in v1.0.0
type PluginClient interface {
Kill()
}
Click to show internal directories.
Click to hide internal directories.