proto

package
v0.0.0-...-2bf1368 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserLogin    = "user_login"
	UserLoginRes = "user_login_res"
	UserRegister = "user_register"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginCmd

type LoginCmd struct {
	Id     int    `json:"user_id"`
	Passwd string `json:"passwd"`
}

type LoginCmdRes

type LoginCmdRes struct {
	Code  int    `json:"code"`
	Error string `json:"error"`
}

type Message

type Message struct {
	Cmd  string `json:"cmd"`
	Data string `json:"data"`
}

type RegisterCmd

type RegisterCmd struct {
	User model.User `json:"user"`
}

Jump to

Keyboard shortcuts

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