Documentation ¶
Index ¶
- func AssertBadRequest(t *testing.T, method, path, body string)
- func AssertMethodNotAllowed(t *testing.T, method, path string)
- func ParseJSON(t *testing.T, data []byte) arguments.Argument
- func ParseSample(t *testing.T, unixPath string) arguments.Argument
- func ReadFile(t *testing.T, unixPath string) []byte
- type App
- type AppConfig
- type Emailer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertBadRequest ¶
func AssertMethodNotAllowed ¶
func ParseSample ¶
ParseSample parses the JSON from the file at unixPath and returns it as an Argument.
Types ¶
type App ¶
type App struct { Emailer *Emailer // contains filtered or unexported fields }
func (*App) AssertBadRequest ¶
func (*App) AssertNotFound ¶
Click to show internal directories.
Click to hide internal directories.