Documentation ¶
Index ¶
- func Login(username, password, userAgent string) (*models.Session, string, error)
- func Register(username, email, password, serialCode string) (*models.User, error)
- func ServeWebSocket(ctx *gin.Context, session *models.Session)
- func ValidateSession(token string, userAgent string) bool
- type Message
- type UserInfo
- type WebSocket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateSession ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.