Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MailMgr ¶
func NewMailMgrNULL ¶
func NewMailMgrNULL() MailMgr
func NewMailMgrSMTP ¶
func NewMailMgrSparkpost ¶
type SessionMgr ¶
type SessionMgr interface {
NewSession(userId string, agent string, csrf bool) (*Session, error)
UpdateSession(id, agent string) (*Session, error)
GetSession(id string) (*Session, error)
DeleteSession(id string) error
GetAllSessions(userId string) ([]*Session, error)
DeleteAllSessions(userId string) error
}
func NewSessionMgrDB ¶
func NewSessionMgrDB(dbp *sql.DB) SessionMgr
func NewSessionMgrRedis ¶
func NewSessionMgrRedis(connUrl string, dbId int) (SessionMgr, error)
Click to show internal directories.
Click to hide internal directories.