Documentation ¶
Index ¶
- func AnalyticsShortnerInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func AnalyticsShortnerNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func AnalyticsShortnerOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Analytics)
- func CreateShortnerCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func CreateShortnerInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteShortnerInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteShortnerNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteShortnerOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func GetShortnerInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func GetShortnerNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func GetShortnerOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.URL)
- func UpdateShortnerInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpdateShortnerNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpdateShortnerOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnalyticsShortnerInternalServerError ¶
func AnalyticsShortnerInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, path string) http.ResponseWriter
AnalyticsShortnerInternalServerError runs the method Analytics of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func AnalyticsShortnerNotFound ¶
func AnalyticsShortnerNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, path string) http.ResponseWriter
AnalyticsShortnerNotFound runs the method Analytics of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func AnalyticsShortnerOK ¶
func AnalyticsShortnerOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, path string) (http.ResponseWriter, *app.Analytics)
AnalyticsShortnerOK runs the method Analytics of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func CreateShortnerCreated ¶
func CreateShortnerCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, payload *app.CreateLinkPayload) http.ResponseWriter
CreateShortnerCreated runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func CreateShortnerInternalServerError ¶
func CreateShortnerInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, payload *app.CreateLinkPayload) http.ResponseWriter
CreateShortnerInternalServerError runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func DeleteShortnerInternalServerError ¶
func DeleteShortnerInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, path string) http.ResponseWriter
DeleteShortnerInternalServerError runs the method Delete of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func DeleteShortnerNotFound ¶
func DeleteShortnerNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, path string) http.ResponseWriter
DeleteShortnerNotFound runs the method Delete of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func DeleteShortnerOK ¶
func DeleteShortnerOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, path string) http.ResponseWriter
DeleteShortnerOK runs the method Delete of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func GetShortnerInternalServerError ¶
func GetShortnerInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, path string) http.ResponseWriter
GetShortnerInternalServerError runs the method Get of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func GetShortnerNotFound ¶
func GetShortnerNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, path string) http.ResponseWriter
GetShortnerNotFound runs the method Get of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func GetShortnerOK ¶
func GetShortnerOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, path string) (http.ResponseWriter, *app.URL)
GetShortnerOK runs the method Get of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func UpdateShortnerInternalServerError ¶
func UpdateShortnerInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, path string, payload *app.UpdateLinkPayload) http.ResponseWriter
UpdateShortnerInternalServerError runs the method Update of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func UpdateShortnerNotFound ¶
func UpdateShortnerNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, path string, payload *app.UpdateLinkPayload) http.ResponseWriter
UpdateShortnerNotFound runs the method Update of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func UpdateShortnerOK ¶
func UpdateShortnerOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ShortnerController, path string, payload *app.UpdateLinkPayload) http.ResponseWriter
UpdateShortnerOK runs the method Update of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
Types ¶
This section is empty.