Documentation ¶
Index ¶
- func GinRun(fnRouter RouterFun, mysqqdb ...db.AutoDB)
- func Http(engine *gin.Engine, port string) *http.Server
- func HttpRouterServe(port string, fnRouter RouterFun) (*http.Server, *gin.Engine)
- func HttpRun(fns func() error)
- func InitROuter(Router *gin.RouterGroup)
- func Routers(fn RouterFun, ginType int) *gin.Engine
- type FnHttp
- type RouterFun
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpRouterServe ¶
Types ¶
type RouterFun ¶
type RouterFun func(group *gin.RouterGroup)
Click to show internal directories.
Click to hide internal directories.