Documentation
¶
Index ¶
- func HTTP(callback Callback) cago.ComponentCancel
- func Recover() gin.HandlerFunc
- func RegisterMiddleware(f RegisterMiddlewareFunc)
- func ShouldBindWith(c *gin.Context, obj any) error
- type Callback
- type Client
- type ClientOption
- type ClientOptions
- type Config
- type Meta
- type RegisterMiddlewareFunc
- type Router
- 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 ClientOption ¶
type ClientOption func(*ClientOptions)
func WithPath ¶
func WithPath(path string) ClientOption
type ClientOptions ¶
type ClientOptions struct {
// contains filtered or unexported fields
}
func NewDoOptions ¶
func NewDoOptions(opts ...ClientOption) *ClientOptions
type RegisterMiddlewareFunc ¶
Click to show internal directories.
Click to hide internal directories.