Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestContext ¶
CreateTestContext creates a Context that is appropriate for testing
func CreateTestRequest ¶
CreateTestRequest instantiates an http.Request that can be used for testing
func CreateTestRequestBody ¶
CreateTestRequestBody creates a test http.Request with the body set
Types ¶
type TestController ¶
type TestController struct { controllers.MethodNotAllowedController controllers.NoAuthenticationController }
TestController implements the Controller interface and nothing else
Click to show internal directories.
Click to hide internal directories.