Documentation ¶
Index ¶
- func ApplyPagination(pagination *types.Pagination, data types.APIObject) types.APIObject
- func ApplyQueryConditions(conditions []*types.QueryCondition, schema *types.Schema, objs types.APIObject) types.APIObject
- func ApplyQueryOptions(options *types.QueryOptions, schema *types.Schema, data types.APIObject) types.APIObject
- func ApplySort(sortOpts types.Sort, data types.APIObject) types.APIObject
- func CreateHandler(apiOp *types.APIRequest) (types.APIObject, error)
- func DeleteHandler(request *types.APIRequest) (types.APIObject, error)
- func ListHandler(request *types.APIRequest) (types.APIObject, error)
- func ParseAndValidateBody(apiOp *types.APIRequest, create bool) (types.APIObject, error)
- func QueryFilter(opts *types.QueryOptions, schema *types.Schema, data types.APIObject) types.APIObject
- func UpdateHandler(apiOp *types.APIRequest) (types.APIObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyPagination ¶
func ApplyQueryConditions ¶
func ApplyQueryOptions ¶
func CreateHandler ¶
func CreateHandler(apiOp *types.APIRequest) (types.APIObject, error)
func DeleteHandler ¶
func DeleteHandler(request *types.APIRequest) (types.APIObject, error)
func ListHandler ¶
func ListHandler(request *types.APIRequest) (types.APIObject, error)
func ParseAndValidateBody ¶
func QueryFilter ¶
func UpdateHandler ¶
func UpdateHandler(apiOp *types.APIRequest) (types.APIObject, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.