api

package
v0.0.0-...-83afde1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanAllStatus

func CleanAllStatus()

func GetAuth

func GetAuth(conn *websocket.Conn, data map[string]string)

func Logout

func Logout(conn *websocket.Conn)

Types

type Auth

type Auth struct {
	Email    string
	Password string
}

type User

type User struct {
	UserID       string `json:"id"`
	Username     string `json:"username"`
	Email        string `json:"email"`
	Password     string `json:"password"`
	FirstName    string `json:"firstName"`
	LastName     string `json:"lastName"`
	ProfileImage string `json:"profileImage"`
	Key          string `json:"key"`
	IsLogin      bool   `json:"isLogin"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL