Documentation ¶
Index ¶
- func BadRequest(c *fiber.Ctx, err *gerror.Error) error
- func Created(c *fiber.Ctx, content any) error
- func Forbidden(c *fiber.Ctx, err *gerror.Error) error
- func InternalServerError(c *fiber.Ctx, err *gerror.Error) error
- func NotAllowed(c *fiber.Ctx, err *gerror.Error) error
- func NotFound(c *fiber.Ctx, err *gerror.Error) error
- func NotImplemented(c *fiber.Ctx) error
- func OK(c *fiber.Ctx, content any) error
- func Unauthorized(c *fiber.Ctx, err *gerror.Error) error
- type Api
- type ListRequest
- type ListResponse
- type Ok
- type Response
- type Str
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
func InternalServerError ¶
func NotAllowed ¶
func NotImplemented ¶
func NotImplemented(c *fiber.Ctx) error
func Unauthorized ¶
Types ¶
type ListRequest ¶
type ListRequest struct { Page int `json:"page"` PageSize int `json:"pageSize"` Filters map[string]any `json:"filters"` Aggs map[string]any `json:"aggs"` }
func ListRequestLastDay ¶
func ListRequestLastDay() ListRequest
func ListRequestLastMonth ¶
func ListRequestLastMonth() ListRequest
func ListRequestLastYear ¶
func ListRequestLastYear() ListRequest
type ListResponse ¶
Click to show internal directories.
Click to hide internal directories.