Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponseType ¶
type IResponse ¶
type IResponse interface { Success(code int, data any) IResponse Error(code int, tractId, msg string) IResponse Response() error }
func NewResponse ¶
func NewResponse(c *fiber.Ctx) IResponse
type PaginateRes ¶
type PaginationRequest ¶
type Response ¶
type Response struct { StatusCode int Data any ErrorResponse *ErrorResponseType Context *fiber.Ctx IsError bool }
type SortRequest ¶
Click to show internal directories.
Click to hide internal directories.