Documentation ¶
Index ¶
- func ApplyPagination(pagination *types.Pagination, data []map[string]interface{}) []map[string]interface{}
- func ApplyQueryConditions(conditions []*types.QueryCondition, data []map[string]interface{}) []map[string]interface{}
- func ApplyQueryOptions(options types.QueryOptions, data []map[string]interface{}) []map[string]interface{}
- func ApplySort(sortOpts types.Sort, data []map[string]interface{}) []map[string]interface{}
- func CreateHandler(apiContext *types.APIContext) error
- func DeleteHandler(request *types.APIContext) error
- func ListHandler(request *types.APIContext) error
- func ParseAndValidateBody(apiContext *types.APIContext) (map[string]interface{}, error)
- func QueryFilter(opts types.QueryOptions, data []map[string]interface{}) []map[string]interface{}
- func UpdateHandler(apiContext *types.APIContext) 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 ApplyQueryConditions(conditions []*types.QueryCondition, data []map[string]interface{}) []map[string]interface{}
func ApplyQueryOptions ¶
func ApplyQueryOptions(options types.QueryOptions, data []map[string]interface{}) []map[string]interface{}
func CreateHandler ¶
func CreateHandler(apiContext *types.APIContext) error
func DeleteHandler ¶
func DeleteHandler(request *types.APIContext) error
func ListHandler ¶
func ListHandler(request *types.APIContext) error
func ParseAndValidateBody ¶
func ParseAndValidateBody(apiContext *types.APIContext) (map[string]interface{}, error)
func QueryFilter ¶
func QueryFilter(opts types.QueryOptions, data []map[string]interface{}) []map[string]interface{}
func UpdateHandler ¶
func UpdateHandler(apiContext *types.APIContext) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.