response_code

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AUTHENTICATION_FAILED = 401 //身份验证失败 踢掉用户
View Source
const EquipmentNotOnline = 20002

设备不在线

View Source
const EquipmentPushFail = 20005

推送客户端失败

View Source
const EquipmentRPCFailService = 20004

RPC请求失败

View Source
const EquipmentRequestParseFailService = 20003

请求数据解析失败

View Source
const FAIL_CODE = 500 //失败处理
View Source
const PushWaitingSend = 20001

待发送

View Source
const SUCCESS_CODE = 200 //(成功)  服务器已成功处理了请求。通常,这表示服务器提供了请求的网页。
View Source
const SUCCESS_NULL_CODE = 204 //(无内容) 服务器成功处理了请求,但未返回任何内容。

Variables

View Source
var ResponseMessage = map[int64]string{
	SUCCESS_CODE:          "SUCCESS",
	SUCCESS_NULL_CODE:     "SUCCESS",
	AUTHENTICATION_FAILED: "AUTHENTICATION_FAILED",
	FAIL_CODE:             "FAIL",
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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