Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MainSocket ¶
func MainSocket(sm *sessionmanager.SessionManager) *socketio.Server
func RedirectToHttps ¶
func RedirectToHttps(w http.ResponseWriter, r *http.Request)
This handler was made so when we only want our users to use https connection.
Types ¶
type Authenticationdata ¶
type Authenticationdata struct {
Token string `json:"token" bson:"token`
}
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func InitCredentials ¶
func (*Database) AccountDeleteCollector ¶
func (db *Database) AccountDeleteCollector()
A timed garbage collector which checks every 48 hours if accounts have been deleted and, if an account was deleted 15 days ago, it deletes it.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.