Documentation ¶
Index ¶
- func ApplyPagination(pagination *types.Pagination, data []map[string]interface{}) []map[string]interface{}
- func ApplyQueryConditions(conditions []*types.QueryCondition, schema *types.Schema, ...) []map[string]interface{}
- func ApplyQueryOptions(options *types.QueryOptions, schema *types.Schema, ...) []map[string]interface{}
- func ApplySort(sortOpts types.Sort, data []map[string]interface{}) []map[string]interface{}
- func CreateHandler(apiContext *types.APIContext, next types.RequestHandler) error
- func DeleteHandler(request *types.APIContext, next types.RequestHandler) error
- func ListHandler(request *types.APIContext, next types.RequestHandler) error
- func ParseAndValidateActionBody(apiContext *types.APIContext, actionInputSchema *types.Schema) (map[string]interface{}, error)
- func ParseAndValidateBody(apiContext *types.APIContext, create bool) (map[string]interface{}, error)
- func QueryFilter(opts *types.QueryOptions, schema *types.Schema, data []map[string]interface{}) []map[string]interface{}
- func UpdateHandler(apiContext *types.APIContext, next types.RequestHandler) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyPagination ¶
func ApplyPagination(pagination *types.Pagination, data []map[string]interface{}) []map[string]interface{}
func ApplyQueryConditions ¶
func ApplyQueryOptions ¶
func CreateHandler ¶
func CreateHandler(apiContext *types.APIContext, next types.RequestHandler) error
func DeleteHandler ¶
func DeleteHandler(request *types.APIContext, next types.RequestHandler) error
func ListHandler ¶
func ListHandler(request *types.APIContext, next types.RequestHandler) error
func ParseAndValidateBody ¶
func ParseAndValidateBody(apiContext *types.APIContext, create bool) (map[string]interface{}, error)
func QueryFilter ¶
func UpdateHandler ¶
func UpdateHandler(apiContext *types.APIContext, next types.RequestHandler) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.