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) EXPECT ¶
func (_m *Middleware) EXPECT() *Middleware_Expecter
func (*Middleware) Setup ¶
func (_m *Middleware) Setup()
Setup provides a mock function with given fields:
type Middleware_Expecter ¶
type Middleware_Expecter struct {
// contains filtered or unexported fields
}
func (*Middleware_Expecter) Setup ¶
func (_e *Middleware_Expecter) Setup() *Middleware_Setup_Call
Setup is a helper method to define mock.On call
type Middleware_Setup_Call ¶
Middleware_Setup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Setup'
func (*Middleware_Setup_Call) Return ¶
func (_c *Middleware_Setup_Call) Return() *Middleware_Setup_Call
func (*Middleware_Setup_Call) Run ¶
func (_c *Middleware_Setup_Call) Run(run func()) *Middleware_Setup_Call
Click to show internal directories.
Click to hide internal directories.