Documentation
¶
Index ¶
Constants ¶
View Source
const ( SendOk = "SendOk" SendBad = "SendBad" CheckAuth = "CheckAuth" UriToFnName = "UriToFnName" )
View Source
const (
PathUri = "*" + uri
)
Variables ¶
This section is empty.
Functions ¶
func RegApiHandler ¶
func RegApiHandler(bind Register) gin.HandlerFunc
RegApiHandler 根据*uri执行对应方法,req自动从body中取得,其他参数可以自己从ctx中获取
Types ¶
Click to show internal directories.
Click to hide internal directories.