Documentation ¶
Index ¶
- func BootstrapUIOK(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.UIController) http.ResponseWriter
- func CallbackAuthOK(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func CreateProposalCreated(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func CreateReviewCreated(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func CreateUserCreated(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteProposalNoContent(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteProposalNotFound(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteReviewNoContent(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteReviewNotFound(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteUserNoContent(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func DeleteUserNotFound(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ListProposalOK(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.ProposalCollection)
- func ListReviewOK(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.ReviewCollection)
- func ListReviewOKLink(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.ReviewLinkCollection)
- func ListUserOK(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.UserCollection)
- func OauthAuthOK(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Authorize)
- func RefreshAuthCreated(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Authorize)
- func ShowProposalNotFound(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowProposalOK(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Proposal)
- func ShowProposalOKLink(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.ProposalLink)
- func ShowReviewNotFound(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowReviewOK(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Review)
- func ShowReviewOKLink(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.ReviewLink)
- func ShowUserNotFound(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowUserOK(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.User)
- func ShowUserOKLink(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.UserLink)
- func TokenAuthCreated(t *testing.T, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.Authorize)
- func UpdateProposalNoContent(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpdateProposalNotFound(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpdateReviewNoContent(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpdateReviewNotFound(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpdateUserNoContent(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func UpdateUserNotFound(t *testing.T, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BootstrapUIOK ¶
func BootstrapUIOK(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.UIController) http.ResponseWriter
BootstrapUIOK runs the method Bootstrap 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 CallbackAuthOK ¶
func CallbackAuthOK(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.AuthController, provider string) http.ResponseWriter
CallbackAuthOK runs the method Callback 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 CreateProposalCreated ¶
func CreateProposalCreated(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ProposalController, userID string, payload *app.CreateProposalPayload) http.ResponseWriter
CreateProposalCreated 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 CreateReviewCreated ¶
func CreateReviewCreated(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ReviewController, userID string, proposalID string, payload *app.CreateReviewPayload) http.ResponseWriter
CreateReviewCreated 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 CreateUserCreated ¶
func CreateUserCreated(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.CreateUserPayload) http.ResponseWriter
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. If ctx is nil then context.Background() is used. If service is nil then a default service is created.
func DeleteProposalNoContent ¶
func DeleteProposalNoContent(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ProposalController, userID string, proposalID int) http.ResponseWriter
DeleteProposalNoContent 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 DeleteProposalNotFound ¶
func DeleteProposalNotFound(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ProposalController, userID string, proposalID int) http.ResponseWriter
DeleteProposalNotFound 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 DeleteReviewNoContent ¶
func DeleteReviewNoContent(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ReviewController, userID string, proposalID string, reviewID int) http.ResponseWriter
DeleteReviewNoContent 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 DeleteReviewNotFound ¶
func DeleteReviewNotFound(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ReviewController, userID string, proposalID string, reviewID int) http.ResponseWriter
DeleteReviewNotFound 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 DeleteUserNoContent ¶
func DeleteUserNoContent(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.UserController, userID int) http.ResponseWriter
DeleteUserNoContent 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 DeleteUserNotFound ¶
func DeleteUserNotFound(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.UserController, userID int) http.ResponseWriter
DeleteUserNotFound 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 ListProposalOK ¶
func ListProposalOK(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ProposalController, userID string) (http.ResponseWriter, app.ProposalCollection)
ListProposalOK 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 ListReviewOK ¶
func ListReviewOK(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ReviewController, userID string, proposalID string) (http.ResponseWriter, app.ReviewCollection)
ListReviewOK 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 ListReviewOKLink ¶
func ListReviewOKLink(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ReviewController, userID string, proposalID string) (http.ResponseWriter, app.ReviewLinkCollection)
ListReviewOKLink 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 ListUserOK ¶
func ListUserOK(t *testing.T, 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 OauthAuthOK ¶
func OauthAuthOK(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.AuthController, provider string) (http.ResponseWriter, *app.Authorize)
OauthAuthOK runs the method Oauth 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 RefreshAuthCreated ¶
func RefreshAuthCreated(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.RefreshAuthPayload) (http.ResponseWriter, *app.Authorize)
RefreshAuthCreated runs the method Refresh 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 ShowProposalNotFound ¶
func ShowProposalNotFound(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ProposalController, userID string, proposalID int) http.ResponseWriter
ShowProposalNotFound 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 ShowProposalOK ¶
func ShowProposalOK(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ProposalController, userID string, proposalID int) (http.ResponseWriter, *app.Proposal)
ShowProposalOK 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 ShowProposalOKLink ¶
func ShowProposalOKLink(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ProposalController, userID string, proposalID int) (http.ResponseWriter, *app.ProposalLink)
ShowProposalOKLink 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 ShowReviewNotFound ¶
func ShowReviewNotFound(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ReviewController, userID string, proposalID string, reviewID int) http.ResponseWriter
ShowReviewNotFound 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 ShowReviewOK ¶
func ShowReviewOK(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ReviewController, userID string, proposalID string, reviewID int) (http.ResponseWriter, *app.Review)
ShowReviewOK 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 ShowReviewOKLink ¶
func ShowReviewOKLink(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ReviewController, userID string, proposalID string, reviewID int) (http.ResponseWriter, *app.ReviewLink)
ShowReviewOKLink 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 *testing.T, 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 *testing.T, ctx context.Context, service *goa.Service, ctrl app.UserController, userID int) (http.ResponseWriter, *app.User)
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 ShowUserOKLink ¶
func ShowUserOKLink(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.UserController, userID int) (http.ResponseWriter, *app.UserLink)
ShowUserOKLink 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 TokenAuthCreated ¶
func TokenAuthCreated(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.TokenAuthPayload) (http.ResponseWriter, *app.Authorize)
TokenAuthCreated runs the method Token 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 UpdateProposalNoContent ¶
func UpdateProposalNoContent(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ProposalController, userID string, proposalID int, payload *app.UpdateProposalPayload) http.ResponseWriter
UpdateProposalNoContent 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 UpdateProposalNotFound ¶
func UpdateProposalNotFound(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ProposalController, userID string, proposalID int, payload *app.UpdateProposalPayload) http.ResponseWriter
UpdateProposalNotFound 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 UpdateReviewNoContent ¶
func UpdateReviewNoContent(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ReviewController, userID string, proposalID string, reviewID int, payload *app.UpdateReviewPayload) http.ResponseWriter
UpdateReviewNoContent 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 UpdateReviewNotFound ¶
func UpdateReviewNotFound(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.ReviewController, userID string, proposalID string, reviewID int, payload *app.UpdateReviewPayload) http.ResponseWriter
UpdateReviewNotFound 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 UpdateUserNoContent ¶
func UpdateUserNoContent(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.UserController, userID int, payload *app.UpdateUserPayload) http.ResponseWriter
UpdateUserNoContent 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 UpdateUserNotFound ¶
func UpdateUserNotFound(t *testing.T, ctx context.Context, service *goa.Service, ctrl app.UserController, userID int, payload *app.UpdateUserPayload) 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.
Types ¶
This section is empty.