ErrMessage

package
Version: v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMessageId_name = map[int32]string{
	0: "msg_err_invalid",
	1: "msg_err_timeout",
	2: "msg_err_disconnect",
	3: "msg_err_login_faild",
	4: "msg_err_not_find_user",
}
View Source
var ErrMessageId_value = map[string]int32{
	"msg_err_invalid":       0,
	"msg_err_timeout":       1,
	"msg_err_disconnect":    2,
	"msg_err_login_faild":   3,
	"msg_err_not_find_user": 4,
}

Functions

This section is empty.

Types

type ErrMessageId

type ErrMessageId int32
const (
	ErrMessageId_msg_err_invalid       ErrMessageId = 0
	ErrMessageId_msg_err_timeout       ErrMessageId = 1
	ErrMessageId_msg_err_disconnect    ErrMessageId = 2
	ErrMessageId_msg_err_login_faild   ErrMessageId = 3
	ErrMessageId_msg_err_not_find_user ErrMessageId = 4
)

func (ErrMessageId) Enum

func (x ErrMessageId) Enum() *ErrMessageId

func (ErrMessageId) EnumDescriptor

func (ErrMessageId) EnumDescriptor() ([]byte, []int)

func (ErrMessageId) String

func (x ErrMessageId) String() string

func (*ErrMessageId) UnmarshalJSON

func (x *ErrMessageId) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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