Documentation
¶
Index ¶
Constants ¶
View Source
const (
COOKIE_NAME = "sessionId"
)
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
Types ¶
type SessionStore ¶
type SessionStore struct {
// contains filtered or unexported fields
}
func NewSessionStore ¶
func NewSessionStore() *SessionStore
func (*SessionStore) Get ¶
func (store *SessionStore) Get(sessionId string) *Session
func (*SessionStore) Set ¶
func (store *SessionStore) Set(session *Session)
Click to show internal directories.
Click to hide internal directories.