Documentation ¶
Overview ¶
Gorilla Sessions backend for MySQL.
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 MySQLStore
- func (m *MySQLStore) Close()
- func (m *MySQLStore) Delete(r *http.Request, w http.ResponseWriter, session *sessions.Session) error
- func (m *MySQLStore) Get(r *http.Request, name string) (*sessions.Session, error)
- func (m *MySQLStore) New(r *http.Request, name string) (*sessions.Session, error)
- func (m *MySQLStore) Options(op ginsession.Options)
- func (m *MySQLStore) 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 MySQLStore ¶
type MySQLStore struct { Codecs []securecookie.Codec // contains filtered or unexported fields }
func NewMySQLStore ¶
func (*MySQLStore) Close ¶
func (m *MySQLStore) Close()
func (*MySQLStore) Delete ¶
func (m *MySQLStore) Delete(r *http.Request, w http.ResponseWriter, session *sessions.Session) error
func (*MySQLStore) Options ¶
func (m *MySQLStore) Options(op ginsession.Options)
func (*MySQLStore) Save ¶
func (m *MySQLStore) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error
Click to show internal directories.
Click to hide internal directories.