Documentation ¶
Index ¶
- func CreateUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func CreateUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func GetUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func GetUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.User)
- func GetUserUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ListUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ListUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.UserCollection)
- func ListUserUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUserInternalServerError ¶
func CreateUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.CreateUserPayload) http.ResponseWriter
CreateUserInternalServerError 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 CreateUserOK ¶
func CreateUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.CreateUserPayload) http.ResponseWriter
CreateUserOK 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 GetUserInternalServerError ¶
func GetUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID int) http.ResponseWriter
GetUserInternalServerError 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 GetUserOK ¶
func GetUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID int) (http.ResponseWriter, *app.User)
GetUserOK 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 GetUserUnauthorized ¶
func GetUserUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID int) http.ResponseWriter
GetUserUnauthorized 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 ListUserInternalServerError ¶
func ListUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController) http.ResponseWriter
ListUserInternalServerError runs the method List 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 ListUserOK ¶
func ListUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController) (http.ResponseWriter, app.UserCollection)
ListUserOK runs the method List 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 ListUserUnauthorized ¶
func ListUserUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController) http.ResponseWriter
ListUserUnauthorized runs the method List 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.
Types ¶
This section is empty.