Documentation ¶
Index ¶
- type Group
- type HandleFuncWrap
- type Router
- func (r *Router) GET(relativePath string, handle HandleFuncWrap, middleware ...gin.HandlerFunc)
- func (r *Router) Group(relativePath string) *Group
- func (r *Router) POST(relativePath string, handle HandleFuncWrap, middleware ...gin.HandlerFunc)
- func (r *Router) RegisterRouter(e *gin.Engine)
- func (r *Router) Use(middleware ...gin.HandlerFunc)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
func (*Group) GET ¶
func (g *Group) GET(relativePath string, handle HandleFuncWrap, middleware ...gin.HandlerFunc)
func (*Group) POST ¶
func (g *Group) POST(relativePath string, handle HandleFuncWrap, middleware ...gin.HandlerFunc)
func (*Group) Use ¶
func (g *Group) Use(middleware ...gin.HandlerFunc)
type HandleFuncWrap ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) GET ¶
func (r *Router) GET(relativePath string, handle HandleFuncWrap, middleware ...gin.HandlerFunc)
func (*Router) POST ¶
func (r *Router) POST(relativePath string, handle HandleFuncWrap, middleware ...gin.HandlerFunc)
func (*Router) RegisterRouter ¶
func (*Router) Use ¶
func (r *Router) Use(middleware ...gin.HandlerFunc)
Click to show internal directories.
Click to hide internal directories.