Documentation
¶
Index ¶
- Constants
- type AbstractCookieTranscoder
- type AbstractSession
- type AbstractSessionStore
- type Config
- type Cookie
- type Session
- func (sess *Session) All() map[string]interface{}
- func (sess *Session) Destroy() error
- func (sess *Session) Get(key string) interface{}
- func (sess *Session) GetId() string
- func (sess *Session) Has(key string) bool
- func (sess *Session) Remove(key string)
- func (sess *Session) Save() error
- func (sess *Session) Set(key string, val interface{})
- type Sessions
Constants ¶
View Source
const ( Modified = iota Destroyed )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractCookieTranscoder ¶ added in v0.0.6
type AbstractSession ¶
type AbstractSessionStore ¶
type Cookie ¶
type Cookie struct {
// contains filtered or unexported fields
}
func NewCookie ¶
func NewCookie(ctx *fasthttp.RequestCtx, transcoder AbstractCookieTranscoder) *Cookie
func (*Cookie) Reset ¶
func (c *Cookie) Reset(ctx *fasthttp.RequestCtx)
Click to show internal directories.
Click to hide internal directories.