Documentation ¶
Index ¶
- func BindJsonArgs(c *gin.Context) (map[string]interface{}, bool)
- func BindQueryArgs(c *gin.Context) (map[string]interface{}, bool)
- func DecodeUrlVal(c *gin.Context, key string) (string, bool)
- func ErrInterrupt(c *gin.Context, err errcode.IErr)
- 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 InitializeHttpServer ¶
func PkgMsgWrite ¶
func RateMiddleware ¶
func RateMiddleware(rateTime time.Duration) gin.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.