Documentation ¶
Index ¶
- func CreateUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func CreateUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.ApplicationVndUser)
- func IndexUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func IndexUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.ApplicationVndUserCollection)
- func ShowBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowBottleOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.GoaExampleCom)
- func ShowUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.ApplicationVndUser)
- func UpdateUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpdateUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.ApplicationVndUser)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUserNotFound ¶
func CreateUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.UserPayload) http.ResponseWriter
CreateUserNotFound 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.UserPayload) (http.ResponseWriter, *app.ApplicationVndUser)
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 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 IndexUserNotFound ¶
func IndexUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController) http.ResponseWriter
IndexUserNotFound runs the method Index 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 IndexUserOK ¶
func IndexUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController) (http.ResponseWriter, app.ApplicationVndUserCollection)
IndexUserOK runs the method Index 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 ShowBottleNotFound ¶
func ShowBottleNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, bottleID int) http.ResponseWriter
ShowBottleNotFound runs the method Show 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 ShowBottleOK ¶
func ShowBottleOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.BottleController, bottleID int) (http.ResponseWriter, *app.GoaExampleCom)
ShowBottleOK runs the method Show 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 ShowUserNotFound ¶
func ShowUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID int) http.ResponseWriter
ShowUserNotFound runs the method Show 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 ShowUserOK ¶
func ShowUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID int) (http.ResponseWriter, *app.ApplicationVndUser)
ShowUserOK runs the method Show 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 UpdateUserNotFound ¶
func UpdateUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID int, payload *app.UserPayload) http.ResponseWriter
UpdateUserNotFound 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 UpdateUserOK ¶
func UpdateUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID int, payload *app.UserPayload) (http.ResponseWriter, *app.ApplicationVndUser)
UpdateUserOK 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 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.