Documentation ¶
Index ¶
- func SigninJWTBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func SigninJWTCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func SigninJWTInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SigninJWTBadRequest ¶
func SigninJWTBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.JWTController, payload *app.Credentials) (http.ResponseWriter, error)
SigninJWTBadRequest runs the method Signin of the given controller with the given parameters and payload. 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 SigninJWTCreated ¶
func SigninJWTCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.JWTController, payload *app.Credentials) http.ResponseWriter
SigninJWTCreated runs the method Signin 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 SigninJWTInternalServerError ¶
func SigninJWTInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.JWTController, payload *app.Credentials) (http.ResponseWriter, error)
SigninJWTInternalServerError runs the method Signin of the given controller with the given parameters and payload. 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.
Types ¶
This section is empty.