Documentation ¶
Index ¶
- func ConvertParamInt(c *gin.Context, param string) (number int, success bool)
- func ConvertQueryInt(c *gin.Context, query string, defaultValue string) (number int, success bool)
- func ErrorHandle(c *gin.Context, httpCode int, err error) bool
- func Logger(logger logrus.FieldLogger, notLogged ...string) gin.HandlerFunc
- type ErrorObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertParamInt ¶
func ConvertQueryInt ¶
func Logger ¶
func Logger(logger logrus.FieldLogger, notLogged ...string) gin.HandlerFunc
Types ¶
type ErrorObject ¶
Click to show internal directories.
Click to hide internal directories.