Documentation ¶
Index ¶
- func DeleteRatingAccepted(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteRatingInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func HealthHealthOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ReadRatingInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ReadRatingNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ReadRatingOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Rating)
- func UpsertRatingInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpsertRatingNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteRatingAccepted ¶
func DeleteRatingAccepted(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, movieID int, userID int) http.ResponseWriter
DeleteRatingAccepted 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 DeleteRatingInternalServerError ¶
func DeleteRatingInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, movieID int, userID int) http.ResponseWriter
DeleteRatingInternalServerError 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 HealthHealthOK ¶
func HealthHealthOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.HealthController) http.ResponseWriter
HealthHealthOK runs the method Health 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 ReadRatingInternalServerError ¶
func ReadRatingInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, movieID int, userID int) http.ResponseWriter
ReadRatingInternalServerError runs the method Read 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 ReadRatingNotFound ¶
func ReadRatingNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, movieID int, userID int) http.ResponseWriter
ReadRatingNotFound runs the method Read 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 ReadRatingOK ¶
func ReadRatingOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, movieID int, userID int) (http.ResponseWriter, *app.Rating)
ReadRatingOK runs the method Read 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 UpsertRatingInternalServerError ¶
func UpsertRatingInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, payload *app.RatingPayload) http.ResponseWriter
UpsertRatingInternalServerError runs the method Upsert 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 UpsertRatingNoContent ¶
func UpsertRatingNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, payload *app.RatingPayload) http.ResponseWriter
UpsertRatingNoContent runs the method Upsert 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.