Versions in this module Expand all Collapse all v0 v0.2.0 Oct 23, 2020 Changes in this version + var HubConstruct = hub + var Upgrader = websocket.Upgrader + func InitDB() + type CookieData struct + Email string + ExitTime time.Time + UUID string + type CookieDetail struct + Collection string + CookieName string + Data CookieData + Email string + Path string + func (b *CookieDetail) CheckCookie(r *http.Request) error + func (b CookieDetail) GenerateCookie(w http.ResponseWriter) (string, error) + type Message struct + Hash string + Index int + Message string + MessageType string + Name string + RoomID string + Size string + Time string + Type string + UserID string + type User struct + Class string + DOB string + Email string + JoinRequest []joinRequest + Name string + Password []byte + PasswordInString string + RoomsJoined []roomsJoined + UUID string + func (b User) CreateUser(r *http.Request) error + func (b User) CreateUserLogin(password string, w http.ResponseWriter) (string, error)