Documentation ¶
Index ¶
- func ListClassInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ListClassNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ListClassOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.StudiouslyClassCollection)
- func ShowClassInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowClassNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowClassOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.StudiouslyClass)
- func ShowMembersClassInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowMembersClassNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowMembersClassOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.StudiouslyMemberCollection)
- func ShowQuestionInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowQuestionNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowQuestionOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.StudiouslyQuestion)
- func ShowQuestionOKByAuthor(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.StudiouslyQuestionByAuthor)
- func ShowQuestionOKByType(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.StudiouslyQuestionByType)
- func ShowQuestionOKByUnit(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.StudiouslyQuestionByUnit)
- func ShowQuestionOKFeed(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, *app.StudiouslyQuestionFeed)
- func ShowQuestionsClassBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowQuestionsClassInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowQuestionsClassNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) http.ResponseWriter
- func ShowQuestionsClassOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.StudiouslyQuestionCollection)
- func ShowQuestionsClassOKByAuthor(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.StudiouslyQuestionByAuthorCollection)
- func ShowQuestionsClassOKByType(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.StudiouslyQuestionByTypeCollection)
- func ShowQuestionsClassOKByUnit(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.StudiouslyQuestionByUnitCollection)
- func ShowQuestionsClassOKFeed(t goatest.TInterface, ctx context.Context, service *goa.Service, ...) (http.ResponseWriter, app.StudiouslyQuestionFeedCollection)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListClassInternalServerError ¶
func ListClassInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController) http.ResponseWriter
ListClassInternalServerError 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 ListClassNotFound ¶
func ListClassNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController) http.ResponseWriter
ListClassNotFound 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 ListClassOK ¶
func ListClassOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController) (http.ResponseWriter, app.StudiouslyClassCollection)
ListClassOK 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 ShowClassInternalServerError ¶
func ShowClassInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int) http.ResponseWriter
ShowClassInternalServerError 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 ShowClassNotFound ¶
func ShowClassNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int) http.ResponseWriter
ShowClassNotFound 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 ShowClassOK ¶
func ShowClassOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int) (http.ResponseWriter, *app.StudiouslyClass)
ShowClassOK 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 ShowMembersClassInternalServerError ¶
func ShowMembersClassInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int) http.ResponseWriter
ShowMembersClassInternalServerError runs the method ShowMembers 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 ShowMembersClassNotFound ¶
func ShowMembersClassNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int) http.ResponseWriter
ShowMembersClassNotFound runs the method ShowMembers 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 ShowMembersClassOK ¶
func ShowMembersClassOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int) (http.ResponseWriter, app.StudiouslyMemberCollection)
ShowMembersClassOK runs the method ShowMembers 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 ShowQuestionInternalServerError ¶
func ShowQuestionInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) http.ResponseWriter
ShowQuestionInternalServerError 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 ShowQuestionNotFound ¶
func ShowQuestionNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) http.ResponseWriter
ShowQuestionNotFound 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 ShowQuestionOK ¶
func ShowQuestionOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) (http.ResponseWriter, *app.StudiouslyQuestion)
ShowQuestionOK 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 ShowQuestionOKByAuthor ¶
func ShowQuestionOKByAuthor(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) (http.ResponseWriter, *app.StudiouslyQuestionByAuthor)
ShowQuestionOKByAuthor 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 ShowQuestionOKByType ¶
func ShowQuestionOKByType(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) (http.ResponseWriter, *app.StudiouslyQuestionByType)
ShowQuestionOKByType 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 ShowQuestionOKByUnit ¶
func ShowQuestionOKByUnit(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) (http.ResponseWriter, *app.StudiouslyQuestionByUnit)
ShowQuestionOKByUnit 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 ShowQuestionOKFeed ¶
func ShowQuestionOKFeed(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) (http.ResponseWriter, *app.StudiouslyQuestionFeed)
ShowQuestionOKFeed 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 ShowQuestionsClassBadRequest ¶
func ShowQuestionsClassBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) http.ResponseWriter
ShowQuestionsClassBadRequest runs the method ShowQuestions 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 ShowQuestionsClassInternalServerError ¶
func ShowQuestionsClassInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) http.ResponseWriter
ShowQuestionsClassInternalServerError runs the method ShowQuestions 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 ShowQuestionsClassNotFound ¶
func ShowQuestionsClassNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) http.ResponseWriter
ShowQuestionsClassNotFound runs the method ShowQuestions 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 ShowQuestionsClassOK ¶
func ShowQuestionsClassOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) (http.ResponseWriter, app.StudiouslyQuestionCollection)
ShowQuestionsClassOK runs the method ShowQuestions 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 ShowQuestionsClassOKByAuthor ¶
func ShowQuestionsClassOKByAuthor(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) (http.ResponseWriter, app.StudiouslyQuestionByAuthorCollection)
ShowQuestionsClassOKByAuthor runs the method ShowQuestions 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 ShowQuestionsClassOKByType ¶
func ShowQuestionsClassOKByType(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) (http.ResponseWriter, app.StudiouslyQuestionByTypeCollection)
ShowQuestionsClassOKByType runs the method ShowQuestions 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 ShowQuestionsClassOKByUnit ¶
func ShowQuestionsClassOKByUnit(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) (http.ResponseWriter, app.StudiouslyQuestionByUnitCollection)
ShowQuestionsClassOKByUnit runs the method ShowQuestions 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 ShowQuestionsClassOKFeed ¶
func ShowQuestionsClassOKFeed(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) (http.ResponseWriter, app.StudiouslyQuestionFeedCollection)
ShowQuestionsClassOKFeed runs the method ShowQuestions 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.
Types ¶
This section is empty.