Documentation ¶
Index ¶
- func BindArgs(c *gin.Context, arg interface{}) bool
- func BindHeader(c *gin.Context, arg interface{}) bool
- func BindJsonArgs(c *gin.Context, arg interface{}) bool
- func BindQueryArgs(c *gin.Context, arg interface{}) bool
- func DecodeUrlVal(c *gin.Context, key string) (string, bool)
- func ErrInterrupt(c *gin.Context, err errcode.IErr)
- func HasErr(c *gin.Context, errs ...error) bool
- func InitializeHttpServer(ctx contextx.Context, registry func(engine *gin.Engine), ...)
- func PkgMsgWrite(c *gin.Context, data interface{})
- func RateMiddleware(rateTime time.Duration) gin.HandlerFunc
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindHeader ¶ added in v0.4.4
func BindJsonArgs ¶
func BindQueryArgs ¶
func InitializeHttpServer ¶
func PkgMsgWrite ¶
func RateMiddleware ¶
func RateMiddleware(rateTime time.Duration) gin.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.