Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sessioner ¶
type Sessioner interface { GetValue(name string) interface{} Save(r *http.Request, w http.ResponseWriter) error SetValue(name string, value string) Init(request *http.Request) (Sessioner, error) }
Sessioner Sessioner
type SessionerAdapter ¶
type SessionerAdapter struct { SessionKey string Values map[interface{}]interface{} Store *sessions.CookieStore // contains filtered or unexported fields }
SessionerAdapter SessionerAdapter
func (SessionerAdapter) GetValue ¶
func (s SessionerAdapter) GetValue(name string) interface{}
GetValue GetValue
func (SessionerAdapter) Init ¶
func (s SessionerAdapter) Init(request *http.Request) (Sessioner, error)
Init Init
func (SessionerAdapter) Save ¶
func (s SessionerAdapter) Save(r *http.Request, w http.ResponseWriter) error
Save Save
func (SessionerAdapter) SetValue ¶
func (s SessionerAdapter) SetValue(name string, value string)
SetValue SetValue
Click to show internal directories.
Click to hide internal directories.