Documentation ¶
Index ¶
- func ByIDHandler(request *types.APIRequest) (types.APIObject, error)
- func CreateHandler(apiOp *types.APIRequest) (types.APIObject, error)
- func DeleteHandler(request *types.APIRequest) (types.APIObject, error)
- func ErrorHandler(request *types.APIRequest, err error)
- func ListHandler(request *types.APIRequest) (types.APIObjectList, error)
- func MetricsHandler(successCode string, ...) func(apiRequest *types.APIRequest) (types.APIObject, error)
- func MetricsListHandler(successCode string, ...) func(apiRequest *types.APIRequest) (types.APIObjectList, error)
- func UpdateHandler(apiOp *types.APIRequest) (types.APIObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByIDHandler ¶
func ByIDHandler(request *types.APIRequest) (types.APIObject, error)
func CreateHandler ¶
func CreateHandler(apiOp *types.APIRequest) (types.APIObject, error)
func DeleteHandler ¶
func DeleteHandler(request *types.APIRequest) (types.APIObject, error)
func ErrorHandler ¶
func ErrorHandler(request *types.APIRequest, err error)
func ListHandler ¶
func ListHandler(request *types.APIRequest) (types.APIObjectList, error)
func MetricsHandler ¶
func MetricsListHandler ¶
func MetricsListHandler(successCode string, next func(apiRequest *types.APIRequest) (types.APIObjectList, error)) func(apiRequest *types.APIRequest) (types.APIObjectList, error)
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.