Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonQuery ¶
type CommonQuery struct {
PageQueryParams
SortBy *string `form:"sortby"`
Filter *string `form:"filter"`
}
type ErrorResponse ¶
func NewErrorResponse ¶
func NewErrorResponse(message, code string, details interface{}) ErrorResponse
func NewRequestBodyErr ¶
func NewRequestBodyErr(details interface{}) ErrorResponse
func NewRequestQueryErr ¶
func NewRequestQueryErr(details interface{}) ErrorResponse
type PageQueryParams ¶
type PaginationMetadata ¶
type PaginationResult ¶
type PaginationResult struct {
Results interface{} `json:"results"`
Metadata PaginationMetadata `json:"metadata"`
}
Click to show internal directories.
Click to hide internal directories.