Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Db *sql.DB
Functions ¶
Types ¶
type Session ¶
func (*Session) Check ¶
Check checks the session validity.
No parameters. Returns a boolean and an error.
func (*Session) DeleteSession ¶
func (session *Session) DeleteSession()
func (*Session) GetSessionById ¶
CreateSession creates a new session for the user.
It takes no parameters and returns a Session and an error.
type Thread ¶
func (*Thread) CreateThread ¶
type User ¶
func GetUserByEmail ¶
func GetUserById ¶
func (*User) CreateSession ¶
func (*User) CreateUser ¶
Click to show internal directories.
Click to hide internal directories.