Documentation ¶
Index ¶
Constants ¶
View Source
const ( DevelopMode = "development" GrayMode = "gray" ProduceMode = "production" )
View Source
const ( SignTimeExpiration = 60 // 60s TokenKey = "xxxxxx" // TokenKey )
View Source
const (
TimeFormat = "2006-01-02 15:04:05"
)
Variables ¶
View Source
var ( ErrVersionCompare = errors.New("version compare error") ErrMissReqParam = errors.New("missing required parameters") ErrSignature = errors.New("signature error") ErrNeedLogin = errors.New("please login first") ErrRegisterServiceEmpty = errors.New("after parsing, the service to be registered is empty") ErrOperationFailed = errors.New("the operation failed. Please try again later") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.