Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Prefix = "scs:session:"
Prefix controls the Memcached key prefix. You should only need to change this if there is a naming clash.
Functions ¶
This section is empty.
Types ¶
type MemcachedStore ¶
type MemcachedStore struct {
// contains filtered or unexported fields
}
func New ¶
func New(client *memcache.Client) *MemcachedStore
New returns a new MemcachedStore instance. The conn parameter should be a pointer to a gomemcache connection pool.
func (*MemcachedStore) Delete ¶
func (m *MemcachedStore) Delete(token string) error
Delete removes a session token and corresponding data from the MemcachedStore instance.
Click to show internal directories.
Click to hide internal directories.