core

package
v0.0.0-...-d4762d9 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONST_Version_Error   = "error"
	CONST_Version_21017   = "v3.00.01"
	CONST_Version_Current = CONST_Version_21017

	CONST_Pagesize_default = 20

	CONST_Language_none = "none"
	CONST_Language_zh   = "zh"
	CONST_Language_en   = "en"
	CONST_Language_ja   = "ja"

	CONST_ResultCode_Success               = 0
	CONST_ResultCode_Unknown_Error         = 499
	CONST_ResultCode_ClientError           = 400
	CONST_ResultCode_InvalidData           = 401
	CONST_ResultCode_ParseJSON_Error       = 402
	CONST_ResultCode_ClientSignature_Error = 403
	CONST_ResultCode_InputParamter_Error   = 404
	CONST_ResultCode_InputParamter_Empty   = 405
	CONST_ResultCode_NotFindRecord         = 406
	CONST_ResultCode_Server_Error          = 500
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	ResultCode int    `json:"result_code"`
	ResultMsg  string `json:"result_msg"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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