Documentation ¶
Index ¶
- func HTTP(callback Callback) cago.ComponentCancel
- func Metadata(request interface{}) (string, string)
- func Recover() gin.HandlerFunc
- func RegisterMiddleware(f RegisterMiddlewareFunc)
- func ShouldBindWith(c *gin.Context, obj any) error
- type Callback
- type Config
- type Meta
- type RegisterMiddlewareFunc
- type Router
- type Routes
- type Validate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Recover ¶
func Recover() gin.HandlerFunc
func RegisterMiddleware ¶
func RegisterMiddleware(f RegisterMiddlewareFunc)
Types ¶
type RegisterMiddlewareFunc ¶
type Routes ¶ added in v1.1.0
func (*Routes) RequestHandle ¶ added in v1.1.0
func (r *Routes) RequestHandle(request interface{}, handlers ...gin.HandlerFunc) *Routes
Click to show internal directories.
Click to hide internal directories.