Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidMysqlClient = errors.New("invalid mysql client") ErrInvalidCookieStore = errors.New("invalid cookie store") )
Functions ¶
This section is empty.
Types ¶
type DatabaseManager ¶
type DatabaseManager struct {
// contains filtered or unexported fields
}
func NewDatabaseManager ¶
func (*DatabaseManager) MustGetMysqlClient ¶
func (m *DatabaseManager) MustGetMysqlClient() *sql.DB
func (*DatabaseManager) MustGetSessionStore ¶
func (m *DatabaseManager) MustGetSessionStore() *SessionStore
type SessionStore ¶
type SessionStore struct {
// contains filtered or unexported fields
}
func NewSessionStore ¶
func NewSessionStore(sessionName string, sessionSecret string) *SessionStore
Click to show internal directories.
Click to hide internal directories.