types

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Code

type Code int
const (
	Ok                           = "Ok"
	UndefinedCode                = "Unknown"
	CodeSuccess             Code = 200
	CodeServerError         Code = 500
	CodeServiceUnKnown      Code = 404
	CodeServiceUnauthorized Code = 403
	CodeNotData             Code = 400
	CodeParamIllegality     Code = 1000
)

func (Code) GetCode

func (c Code) GetCode() int

func (Code) GetCode32

func (c Code) GetCode32() int32

func (Code) GetMsg

func (c Code) GetMsg() string

Jump to

Keyboard shortcuts

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