Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryResult ¶
type QueryResult struct { Err error Value interface{} }
type RedisQuery ¶
type RedisQuery struct { Action string Options []interface{} // contains filtered or unexported fields }
type RedisStore ¶
type RedisStore struct { *http.Cookie *redis.Pool DefaultMaxAge int // contains filtered or unexported fields }
func NewRedisStore ¶
func NewRedisStore(network, address, password string) *RedisStore
func (*RedisStore) Run ¶
func (q *RedisStore) Run()
func (*RedisStore) Set ¶
func (q *RedisStore) Set(r *http.Request, w http.ResponseWriter, session *Session) error
func (*RedisStore) Stop ¶
func (q *RedisStore) Stop()
type Session ¶
func NewSession ¶
func NewSession(store RedisStore, name string) *Session
Click to show internal directories.
Click to hide internal directories.