Documentation ¶
Index ¶
Constants ¶
View Source
const ( Ok int = 0 Fail int = -1 Request int = -400 Internal int = -500 )
Variables ¶
View Source
var InternalErr = Err{Code: Internal, Name: "INTERNAL_ERROR"}
View Source
var RequestErr = Err{Code: Request, Name: "REQUEST_ERROR"}
View Source
var UnknownErr = Err{Code: Fail, Name: "UNKNOWN_ERROR"}
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.