Documentation ¶
Index ¶
- func NewContextMock(method, endpoint, body, path string, values ...string) echo.Context
- func NewContextMockResponse(statusCode int, errorMessage string) error
- func NewCreatorMock(fail bool, errorMessage string) creatorMock
- func NewDeleterMock(fail bool, errorMessage string) deleterMock
- func NewExecutorMock(fail bool, errorMessage string) executorMock
- func NewMockHTTP(fail bool) mockHTTP
- func NewMockHTTPResponse() *http.Response
- func NewReaderMock(fail bool, errorMessage string) readerMock
- func NewUpdaterMock(fail bool, errorMessage string) updaterMock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContextMock ¶
func NewContextMockResponse ¶
func NewCreatorMock ¶
func NewDeleterMock ¶
func NewExecutorMock ¶
func NewMockHTTP ¶ added in v0.2.0
func NewMockHTTP(fail bool) mockHTTP
func NewMockHTTPResponse ¶ added in v0.2.0
func NewReaderMock ¶
func NewUpdaterMock ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.