Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationMiddleware ¶
AuthenticationMiddleware is an autogenerated mock type for the AuthenticationMiddleware type
func NewAuthenticationMiddleware ¶
func NewAuthenticationMiddleware(t mockConstructorTestingTNewAuthenticationMiddleware) *AuthenticationMiddleware
NewAuthenticationMiddleware creates a new instance of AuthenticationMiddleware. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type JSONController ¶
JSONController is an autogenerated mock type for the JSONController type
func NewJSONController ¶
func NewJSONController(t mockConstructorTestingTNewJSONController) *JSONController
NewJSONController creates a new instance of JSONController. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*JSONController) Wrap ¶
func (_m *JSONController) Wrap(handler middlewares.JSONHandler) func(http.ResponseWriter, *http.Request)
Wrap provides a mock function with given fields: handler
type JSONHandler ¶
JSONHandler is an autogenerated mock type for the JSONHandler type
func NewJSONHandler ¶
func NewJSONHandler(t mockConstructorTestingTNewJSONHandler) *JSONHandler
NewJSONHandler creates a new instance of JSONHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*JSONHandler) Execute ¶
func (_m *JSONHandler) Execute(w http.ResponseWriter, r *http.Request) (interface{}, httperrors.HTTPError)
Execute provides a mock function with given fields: w, r
type MiddlewareLogger ¶
MiddlewareLogger is an autogenerated mock type for the MiddlewareLogger type
func NewMiddlewareLogger ¶
func NewMiddlewareLogger(t mockConstructorTestingTNewMiddlewareLogger) *MiddlewareLogger
NewMiddlewareLogger creates a new instance of MiddlewareLogger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.