Documentation ¶
Index ¶
Constants ¶
View Source
const ( CodeSuccess = 0 CodeVersionError = 1 CodeUpdating = 101 CodeNotFound = 1000 CodeRequestUrlParamError = 1001 CodeRequestQueryParamError = 1002 CodeRequestCommonParamError = 1003 CodeRequestBodyError = 1004 CodeNotLogin = 1005 CodeServerError = 1006 CodeNotAllow = 1007 )
service inner error code list
Variables ¶
This section is empty.
Functions ¶
func Engine ¶
func Engine() *gin.RouterGroup
func GetMessage ¶
func HttpHandler ¶
func HttpHandler(handler BbfHandler) gin.HandlerFunc
Types ¶
type BbfHandler ¶
type BbfHandler func(state *State)
Click to show internal directories.
Click to hide internal directories.