util

package
v0.0.0-...-8b7763f Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2016 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ErrOK 成功
	ErrOK int32 = 0
	// ErrFailure 未知错误
	ErrFailure = 1

	// ErrNotAuthor
	ErrNotAuthor = 5000
	// ErrUid
	ErrUid = 5001
	// ErrSessionTimeout
	ErrSessionTimeout = 5002
	// ErrGetUserInfoByID
	ErrGetUserInfoByID = 5003
	// ErrFrom
	ErrFrom = 5004
	// ErrTo
	ErrTo = 5005
	// ErrType
	ErrType = 5006
	// ErrUnmarshalData
	ErrUnmarshalData = 5007
	// ErrMarshalData
	ErrMarshalData = 5008
	// ErrParseData
	ErrParseData = 5009
	// ErrMsgNull
	ErrMsgNull = 5010
	// ErrSendMsg
	ErrSendMsg = 5011
	// ErrPushMessage
	ErrPushMessage = 5012
	// ErrUpdateSignature
	ErrUpdateSignature = 5013
	// ErrUpdateUserInfo
	ErrUpdateUserInfo = 5014
	// ErrDecodeString
	ErrDecodeString = 5015
	// ErrLogout
	ErrLogout = 5016
	// ErrFindUser
	ErrFindUser = 5017
	// ErrAddFriend
	ErrAddFriend = 5018
)

Variables

This section is empty.

Functions

func Error

func Error(code int32, msg string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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