Documentation ¶
Index ¶
- type QLStore
- func (db *QLStore) Delete(r *http.Request, w http.ResponseWriter, session *sessions.Session) error
- func (db *QLStore) Get(r *http.Request, name string) (*sessions.Session, error)
- func (db *QLStore) New(r *http.Request, name string) (*sessions.Session, error)
- func (db *QLStore) 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 QLStore ¶
type QLStore struct {
// contains filtered or unexported fields
}
QLStore is the session storage implementation for gorilla/sessions using embedded SQL database(ql).
func NewQLStore ¶
NewQLStore initillizes QLStore with the given keyPairs
func (*QLStore) Get ¶
Get fetches a session for a given name after it has been added to the registry.
Click to show internal directories.
Click to hide internal directories.