test

package
v0.0.0-...-b3b36fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2018 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowMemberBadRequest

func ShowMemberBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MemberController, memberID string, ifModifiedSince *string, ifNoneMatch *string) (http.ResponseWriter, *app.JSONAPIErrors)

ShowMemberBadRequest 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 ShowMemberInternalServerError

func ShowMemberInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MemberController, memberID string, ifModifiedSince *string, ifNoneMatch *string) (http.ResponseWriter, *app.JSONAPIErrors)

ShowMemberInternalServerError 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 ShowMemberNotFound

func ShowMemberNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MemberController, memberID string, ifModifiedSince *string, ifNoneMatch *string) (http.ResponseWriter, *app.JSONAPIErrors)

ShowMemberNotFound 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 ShowMemberNotModified

func ShowMemberNotModified(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MemberController, memberID string, ifModifiedSince *string, ifNoneMatch *string) http.ResponseWriter

ShowMemberNotModified 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 ShowMemberOK

func ShowMemberOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MemberController, memberID string, ifModifiedSince *string, ifNoneMatch *string) (http.ResponseWriter, *app.MemberSingle)

ShowMemberOK 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL