Documentation
¶
Index ¶
- Variables
- type Adaptee
- func (a *Adaptee) Any(relativePath string, args ...interface{})
- func (a *Adaptee) DELETE(relativePath string, args ...interface{})
- func (a *Adaptee) GET(relativePath string, args ...interface{})
- func (a *Adaptee) Group(relativePath string, args ...interface{}) *AdapteeGroup
- func (a *Adaptee) HEAD(relativePath string, args ...interface{})
- func (a *Adaptee) OPTIONS(relativePath string, args ...interface{})
- func (a *Adaptee) PATCH(relativePath string, args ...interface{})
- func (a *Adaptee) POST(relativePath string, args ...interface{})
- func (a *Adaptee) PUT(relativePath string, args ...interface{})
- func (a *Adaptee) RegisterAdapter(adapter interface{})
- func (a *Adaptee) ServeHTTP(r http.ResponseWriter, w *http.Request)
- func (a *Adaptee) Use(f func(c *gin.Context))
- type AdapteeGroup
- func (a *AdapteeGroup) Any(relativePath string, args ...interface{})
- func (a *AdapteeGroup) DELETE(relativePath string, args ...interface{})
- func (a *AdapteeGroup) GET(relativePath string, args ...interface{})
- func (a *AdapteeGroup) HEAD(relativePath string, args ...interface{})
- func (a *AdapteeGroup) OPTIONS(relativePath string, args ...interface{})
- func (a *AdapteeGroup) PATCH(relativePath string, args ...interface{})
- func (a *AdapteeGroup) POST(relativePath string, args ...interface{})
- func (a *AdapteeGroup) PUT(relativePath string, args ...interface{})
- func (a *AdapteeGroup) Use(f func(c *gin.Context))
- type Adapter
- type Gin
- type Handler
- type HandlerFunc
- type Handlers
- type Middleware
- type Middlewares
- type Parent
Constants ¶
This section is empty.
Variables ¶
View Source
var GinHandlerFuncType = reflect.TypeOf(gin.HandlerFunc(nil))
Functions ¶
This section is empty.
Types ¶
type Adaptee ¶
type Adaptee struct { Router Gin // contains filtered or unexported fields }
func (*Adaptee) Group ¶
func (a *Adaptee) Group(relativePath string, args ...interface{}) *AdapteeGroup
func (*Adaptee) RegisterAdapter ¶
func (a *Adaptee) RegisterAdapter(adapter interface{})
type AdapteeGroup ¶
type AdapteeGroup struct { *Adaptee *gin.RouterGroup }
func (*AdapteeGroup) Any ¶
func (a *AdapteeGroup) Any(relativePath string, args ...interface{})
func (*AdapteeGroup) DELETE ¶
func (a *AdapteeGroup) DELETE(relativePath string, args ...interface{})
func (*AdapteeGroup) GET ¶
func (a *AdapteeGroup) GET(relativePath string, args ...interface{})
func (*AdapteeGroup) HEAD ¶
func (a *AdapteeGroup) HEAD(relativePath string, args ...interface{})
func (*AdapteeGroup) OPTIONS ¶
func (a *AdapteeGroup) OPTIONS(relativePath string, args ...interface{})
func (*AdapteeGroup) PATCH ¶
func (a *AdapteeGroup) PATCH(relativePath string, args ...interface{})
func (*AdapteeGroup) POST ¶
func (a *AdapteeGroup) POST(relativePath string, args ...interface{})
func (*AdapteeGroup) PUT ¶
func (a *AdapteeGroup) PUT(relativePath string, args ...interface{})
func (*AdapteeGroup) Use ¶
func (a *AdapteeGroup) Use(f func(c *gin.Context))
type HandlerFunc ¶
type HandlerFunc gin.HandlerFunc
func (HandlerFunc) Handle ¶
func (h HandlerFunc) Handle(c *gin.Context)
type Middleware ¶
type Middlewares ¶
type Middlewares []Middleware
Click to show internal directories.
Click to hide internal directories.