Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct { ID string AuthKey string Encryption string Expired int TimeForUpdate int Path string HttpOnly bool }
var SessionConfig Session
type SessionType ¶
type SessionType struct { Config *Session Cookie *sessions.CookieStore MySQL *mysqlstore.MySQLStore Postgre *pgstore.PGStore }
var SessType SessionType
func Init ¶
func Init() SessionType
func (*SessionType) NewConfig ¶
func (c *SessionType) NewConfig(cfg *Session)
func (*SessionType) NewCookieStore ¶
func (c *SessionType) NewCookieStore()
func (*SessionType) NewMysqlStore ¶
func (m *SessionType) NewMysqlStore(cfg conf.Configuration)
func (*SessionType) NewPostgresStore ¶
func (p *SessionType) NewPostgresStore(cfg conf.Configuration)
func (*SessionType) Send ¶
func (c *SessionType) Send()
Click to show internal directories.
Click to hide internal directories.