Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
Middleware is an autogenerated mock type for the Middleware type
func NewMiddleware ¶
func NewMiddleware(t mockConstructorTestingTNewMiddleware) *Middleware
NewMiddleware creates a new instance of Middleware. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Middleware) Attach ¶
func (_m *Middleware) Attach(request *http.Request, response http.ResponseWriter) bool
Attach provides a mock function with given fields: request, response
func (*Middleware) Priority ¶
func (_m *Middleware) Priority() int
Priority provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.