Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiRouters ¶
type ApiRouters struct {
// contains filtered or unexported fields
}
api接口路由
func NewApiRouters ¶
func NewApiRouters() *ApiRouters
func (*ApiRouters) Register ¶
func (a *ApiRouters) Register(g *gin.Engine)
type StaticRouters ¶
type StaticRouters struct{}
静态文件路由
func NewStaticRouters ¶
func NewStaticRouters() *StaticRouters
func (*StaticRouters) Register ¶
func (s *StaticRouters) Register(g *gin.Engine)
type SwaggerRouters ¶
type SwaggerRouters struct{}
swagger路由
func NewSwaggerRouters ¶
func NewSwaggerRouters() *SwaggerRouters
func (*SwaggerRouters) Register ¶
func (s *SwaggerRouters) Register(g *gin.Engine)
type UserRouter ¶
type UserRouter struct{}
用户api router
func NewUserRouter ¶
func NewUserRouter() *UserRouter
func (*UserRouter) Register ¶
func (u *UserRouter) Register(g *gin.RouterGroup)
Click to show internal directories.
Click to hide internal directories.