Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPMappingStandardError ¶ added in v0.0.46
func HTTPMappingStandardError(goddErr *godd.Error) (codeOut int, responseError interface{}, goddErrOut *godd.Error)
HTTPMappingStandardError
func HTTPMappingStandardResponse ¶ added in v0.0.46
func HTTPMappingStandardResponse(context *godd.Context, code int, responseRaw interface{}, responsePagination *godd.ResponsePagination) (codeOut int, responseMapping interface{}, goddErr *godd.Error)
HTTPMappingStandardResponse
Types ¶
type API ¶ added in v0.0.46
type API struct { LifeCycle *goddAPILifeCycle.APILifeCycle // contains filtered or unexported fields }
API struct
func NewWithInitial ¶ added in v0.0.66
func NewWithInitial(context *godd.Context, apiMiddleware *goddAPILifeCycle.APILifeCycle, mappingStandardResponse goddAPILifeCycle.MappingStandardResponse, mappingStandardError goddAPILifeCycle.MappingStandardError) *API
func (*API) HandlerLifeCycle ¶ added in v0.0.46
HandlerLifeCycle func
func (*API) Initial ¶ added in v0.0.52
func (api *API) Initial(context *godd.Context, apiMiddleware *goddAPILifeCycle.APILifeCycle, mappingStandardResponse goddAPILifeCycle.MappingStandardResponse, mappingStandardError goddAPILifeCycle.MappingStandardError)
Initial API
func (*API) RunLifeCycle ¶ added in v0.0.62
func (api *API) RunLifeCycle() (*goddAPILifeCycle.APIResponse, error)
Click to show internal directories.
Click to hide internal directories.