Documentation ¶
Overview ¶
Package api defines the API V1 implementation for tenant-api.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidUUID is returned when a UUID is invalid ErrInvalidUUID = errors.New("invalid UUID") // ErrUUIDNotFound is returned when a UUID is not found in the path ErrUUIDNotFound = errors.New("UUID not found in path") // ErrTenantNameMissing is returned when the Tenant Name is not defined. ErrTenantNameMissing = errors.New("tenant name is missing") )
Functions ¶
This section is empty.
Types ¶
type PaginationParams ¶
type PaginationParams struct { Limit int `json:"limit,omitempty"` Page int `json:"page,omitempty"` Cursor string `json:"cursor,omitempty"` Preload bool `json:"preload,omitempty"` OrderBy string `json:"orderby,omitempty"` }
PaginationParams allow you to paginate the results
Click to show internal directories.
Click to hide internal directories.