Documentation
¶
Index ¶
- func Auth(app *core.App) func(c fiber.Ctx) error
- func IsEmpty(values ...string) bool
- func IsLogined(app *core.App, c fiber.Ctx) bool
- func Param(app *core.App, c fiber.Ctx, dest interface{}) (isVaild bool, resp error)
- func RespFail(c fiber.Ctx, code int, msg string, data interface{}) error
- func RespMissingParameters(c fiber.Ctx) error
- func RespServerError(c fiber.Ctx, errs ...error) error
- func RespSuccess(c fiber.Ctx, msg string, data interface{}) error
- func RespSuccessWithStatus(c fiber.Ctx, code int, msg string, data interface{}) error
- func ValidateParams(app *core.App, c fiber.Ctx, dest interface{}) (isVaild bool, resp error)
- type Resp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RespMissingParameters ¶
func RespSuccessWithStatus ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.