Documentation ¶
Index ¶
Constants ¶
View Source
const HTTP_CODE_ACCESS_FORBIDDEN = 403
View Source
const HTTP_CODE_ACCESS_UNAUTHORIZED = 401
View Source
const HTTP_CODE_ENTITY_CONFLICT = 409
View Source
const HTTP_CODE_ENTITY_CREATED = 201
View Source
const HTTP_CODE_ENTITY_NOEXIST = 404
View Source
const HTTP_CODE_INVALID_REQUEST = 400
View Source
const HTTP_CODE_NOALLOWED_REQUEST = 405
View Source
const HTTP_CODE_SERVER_ERROR = 500
View Source
const HTTP_CODE_TOOMANY_REQUEST = 429
View Source
const HTTP_CODE_VALID_REQUEST = 200
Variables ¶
This section is empty.
Functions ¶
func QueryParamsCount ¶
Types ¶
type ResponseDefinition ¶
type ResponseDefinition struct {
// contains filtered or unexported fields
}
func NewResponseDefinition ¶
func NewResponseDefinition(input *context.Input) *ResponseDefinition
func (*ResponseDefinition) GetLimit ¶
func (this *ResponseDefinition) GetLimit() int
func (*ResponseDefinition) GetOrderBy ¶
func (this *ResponseDefinition) GetOrderBy() string
func (*ResponseDefinition) GetOrderDir ¶
func (this *ResponseDefinition) GetOrderDir() string
func (*ResponseDefinition) GetPage ¶
func (this *ResponseDefinition) GetPage() int
Click to show internal directories.
Click to hide internal directories.