Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HttpHandleMethod ¶
type HttpHandleMethod = func(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes
func JudgeMethod ¶
func JudgeMethod(method string, group *gin.RouterGroup) HttpHandleMethod
JudgeMethod @Date 2023-01-16 19:03:41 @Param method string @Param group gin.RouterGroup @Return httpHandleMethod @Description: 根据http请求的类型来返回对应的方法
Click to show internal directories.
Click to hide internal directories.