Documentation ¶
Overview ¶
Gorilla Sessions backend for SQLite.
Copyright (c) 2013 Contributors. See the list of contributors in the CONTRIBUTORS file for details.
This software is licensed under a MIT style license available in the LICENSE file.
Index ¶
- type DB
- type SqliteStore
- func (m *SqliteStore) Close()
- func (m *SqliteStore) Delete(r *http.Request, w http.ResponseWriter, session *sessions.Session) error
- func (m *SqliteStore) Get(r *http.Request, name string) (*sessions.Session, error)
- func (m *SqliteStore) MaxLength(l int)
- func (m *SqliteStore) New(r *http.Request, name string) (*sessions.Session, error)
- func (m *SqliteStore) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SqliteStore ¶
type SqliteStore struct { Codecs []securecookie.Codec Options *sessions.Options // contains filtered or unexported fields }
func NewSqliteStore ¶
func (*SqliteStore) Close ¶
func (m *SqliteStore) Close()
func (*SqliteStore) Delete ¶
func (m *SqliteStore) Delete(r *http.Request, w http.ResponseWriter, session *sessions.Session) error
func (*SqliteStore) MaxLength ¶
func (m *SqliteStore) MaxLength(l int)
func (*SqliteStore) Save ¶
func (m *SqliteStore) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error
Click to show internal directories.
Click to hide internal directories.