Documentation ¶
Index ¶
- func CreateUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func CreateUserCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Users)
- func CreateUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func FindByEmailUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func FindByEmailUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func FindByEmailUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Users)
- func FindUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func FindUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func FindUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func FindUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Users)
- func FindUsersUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func FindUsersUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func FindUsersUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.UsersPage)
- func ForgotPasswordUpdateUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ForgotPasswordUpdateUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ForgotPasswordUpdateUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ForgotPasswordUpdateUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ForgotPasswordUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ForgotPasswordUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ForgotPasswordUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func GetAllUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func GetAllUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func GetAllUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func GetMeUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func GetMeUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func GetMeUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func GetMeUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Users)
- func GetUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func GetUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func GetUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func GetUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Users)
- func ResetVerificationTokenUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ResetVerificationTokenUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ResetVerificationTokenUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func ResetVerificationTokenUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.ResetToken)
- func UpdateUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func UpdateUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func UpdateUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func UpdateUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Users)
- func VerifyUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func VerifyUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func VerifyUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, error)
- func VerifyUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUserBadRequest ¶
func CreateUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.CreateUserPayload) (http.ResponseWriter, error)
CreateUserBadRequest 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 CreateUserCreated ¶
func CreateUserCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.CreateUserPayload) (http.ResponseWriter, *app.Users)
CreateUserCreated 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 CreateUserInternalServerError ¶
func CreateUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.CreateUserPayload) (http.ResponseWriter, error)
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 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 FindByEmailUserInternalServerError ¶
func FindByEmailUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.EmailPayload) (http.ResponseWriter, error)
FindByEmailUserInternalServerError runs the method FindByEmail 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 FindByEmailUserNotFound ¶
func FindByEmailUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.EmailPayload) (http.ResponseWriter, error)
FindByEmailUserNotFound runs the method FindByEmail 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 FindByEmailUserOK ¶
func FindByEmailUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.EmailPayload) (http.ResponseWriter, *app.Users)
FindByEmailUserOK runs the method FindByEmail 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 FindUserBadRequest ¶
func FindUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.Credentials) (http.ResponseWriter, error)
FindUserBadRequest runs the method Find 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 FindUserInternalServerError ¶
func FindUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.Credentials) (http.ResponseWriter, error)
FindUserInternalServerError runs the method Find 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 FindUserNotFound ¶
func FindUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.Credentials) (http.ResponseWriter, error)
FindUserNotFound runs the method Find 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 FindUserOK ¶
func FindUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.Credentials) (http.ResponseWriter, *app.Users)
FindUserOK runs the method Find 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 FindUsersUserBadRequest ¶
func FindUsersUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.FilterPayload) (http.ResponseWriter, error)
FindUsersUserBadRequest runs the method FindUsers 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 FindUsersUserInternalServerError ¶
func FindUsersUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.FilterPayload) (http.ResponseWriter, error)
FindUsersUserInternalServerError runs the method FindUsers 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 FindUsersUserOK ¶
func FindUsersUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.FilterPayload) (http.ResponseWriter, *app.UsersPage)
FindUsersUserOK runs the method FindUsers 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 ForgotPasswordUpdateUserBadRequest ¶
func ForgotPasswordUpdateUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.ForgotPasswordPayload) (http.ResponseWriter, error)
ForgotPasswordUpdateUserBadRequest runs the method ForgotPasswordUpdate 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 ForgotPasswordUpdateUserInternalServerError ¶
func ForgotPasswordUpdateUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.ForgotPasswordPayload) (http.ResponseWriter, error)
ForgotPasswordUpdateUserInternalServerError runs the method ForgotPasswordUpdate 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 ForgotPasswordUpdateUserNotFound ¶
func ForgotPasswordUpdateUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.ForgotPasswordPayload) (http.ResponseWriter, error)
ForgotPasswordUpdateUserNotFound runs the method ForgotPasswordUpdate 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 ForgotPasswordUpdateUserOK ¶
func ForgotPasswordUpdateUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.ForgotPasswordPayload) http.ResponseWriter
ForgotPasswordUpdateUserOK runs the method ForgotPasswordUpdate 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 ForgotPasswordUserBadRequest ¶
func ForgotPasswordUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.EmailPayload) (http.ResponseWriter, error)
ForgotPasswordUserBadRequest runs the method ForgotPassword 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 ForgotPasswordUserInternalServerError ¶
func ForgotPasswordUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.EmailPayload) (http.ResponseWriter, error)
ForgotPasswordUserInternalServerError runs the method ForgotPassword 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 ForgotPasswordUserOK ¶
func ForgotPasswordUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.EmailPayload) http.ResponseWriter
ForgotPasswordUserOK runs the method ForgotPassword 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 GetAllUserInternalServerError ¶
func GetAllUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, limit *int, offset *int, order *string, sorting *string) (http.ResponseWriter, error)
GetAllUserInternalServerError runs the method GetAll 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 GetAllUserNotFound ¶
func GetAllUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, limit *int, offset *int, order *string, sorting *string) (http.ResponseWriter, error)
GetAllUserNotFound runs the method GetAll 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 GetAllUserOK ¶
func GetAllUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, limit *int, offset *int, order *string, sorting *string) http.ResponseWriter
GetAllUserOK runs the method GetAll 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 GetMeUserBadRequest ¶
func GetMeUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController) (http.ResponseWriter, error)
GetMeUserBadRequest runs the method GetMe 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 GetMeUserInternalServerError ¶
func GetMeUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController) (http.ResponseWriter, error)
GetMeUserInternalServerError runs the method GetMe 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 GetMeUserNotFound ¶
func GetMeUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController) (http.ResponseWriter, error)
GetMeUserNotFound runs the method GetMe 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 GetMeUserOK ¶
func GetMeUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController) (http.ResponseWriter, *app.Users)
GetMeUserOK runs the method GetMe 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 GetUserBadRequest ¶
func GetUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID string) (http.ResponseWriter, error)
GetUserBadRequest 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 GetUserInternalServerError ¶
func GetUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID string) (http.ResponseWriter, error)
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 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 GetUserNotFound ¶
func GetUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID string) (http.ResponseWriter, error)
GetUserNotFound 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 GetUserOK ¶
func GetUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID string) (http.ResponseWriter, *app.Users)
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 ResetVerificationTokenUserBadRequest ¶
func ResetVerificationTokenUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.EmailPayload) (http.ResponseWriter, error)
ResetVerificationTokenUserBadRequest runs the method ResetVerificationToken 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 ResetVerificationTokenUserInternalServerError ¶
func ResetVerificationTokenUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.EmailPayload) (http.ResponseWriter, error)
ResetVerificationTokenUserInternalServerError runs the method ResetVerificationToken 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 ResetVerificationTokenUserNotFound ¶
func ResetVerificationTokenUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.EmailPayload) (http.ResponseWriter, error)
ResetVerificationTokenUserNotFound runs the method ResetVerificationToken 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 ResetVerificationTokenUserOK ¶
func ResetVerificationTokenUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.EmailPayload) (http.ResponseWriter, *app.ResetToken)
ResetVerificationTokenUserOK runs the method ResetVerificationToken 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 UpdateUserBadRequest ¶
func UpdateUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID string, payload *app.UpdateUserPayload) (http.ResponseWriter, error)
UpdateUserBadRequest 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.
func UpdateUserInternalServerError ¶
func UpdateUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID string, payload *app.UpdateUserPayload) (http.ResponseWriter, error)
UpdateUserInternalServerError 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.
func UpdateUserNotFound ¶
func UpdateUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID string, payload *app.UpdateUserPayload) (http.ResponseWriter, error)
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 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 UpdateUserOK ¶
func UpdateUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, userID string, payload *app.UpdateUserPayload) (http.ResponseWriter, *app.Users)
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.
func VerifyUserBadRequest ¶
func VerifyUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, token *string) (http.ResponseWriter, error)
VerifyUserBadRequest runs the method Verify 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 VerifyUserInternalServerError ¶
func VerifyUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, token *string) (http.ResponseWriter, error)
VerifyUserInternalServerError runs the method Verify 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 VerifyUserNotFound ¶
func VerifyUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, token *string) (http.ResponseWriter, error)
VerifyUserNotFound runs the method Verify 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 VerifyUserOK ¶
func VerifyUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, token *string) http.ResponseWriter
VerifyUserOK runs the method Verify 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.