Documentation ¶
Index ¶
- func DefaultHeadersMiddleware() echo.MiddlewareFunc
- func ObjectToByte(t *testing.T, obj interface{}) *bytes.Reader
- func RequestObjectWithBody(t *testing.T, method, path string, data interface{}, e *echo.Echo) (*httptest.ResponseRecorder, echo.Context)
- func RequestTest(method, path string, e *echo.Echo) (int, string)
- func RequestWithBody(method, path string, body io.Reader, e *echo.Echo) (*httptest.ResponseRecorder, echo.Context)
- func UUIDFromString(t *testing.T, uStr string) uuid.UUID
- func UUIDFromStringPointer(t *testing.T, uStr string) *uuid.UUID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultHeadersMiddleware ¶
func DefaultHeadersMiddleware() echo.MiddlewareFunc
ServerHeader middleware adds a `Server` header to the response.
func RequestObjectWithBody ¶
func RequestObjectWithBody(t *testing.T, method, path string, data interface{}, e *echo.Echo) (*httptest.ResponseRecorder, echo.Context)
RequestObjectWithBody ...
func RequestTest ¶
RequestTest ...
func RequestWithBody ¶
func RequestWithBody(method, path string, body io.Reader, e *echo.Echo) (*httptest.ResponseRecorder, echo.Context)
RequestWithBody ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.