Documentation
¶
Index ¶
- type Handler
- type Handler_Expecter
- type Handler_Register_Call
- func (_c *Handler_Register_Call) Return() *Handler_Register_Call
- func (_c *Handler_Register_Call) Run(run func(serveMux *http.ServeMux, handlerOptions []connect.HandlerOption)) *Handler_Register_Call
- func (_c *Handler_Register_Call) RunAndReturn(run func(serveMux *http.ServeMux, handlerOptions []connect.HandlerOption)) *Handler_Register_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler is an autogenerated mock type for the Handler type
func NewHandler ¶
NewHandler creates a new instance of Handler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Handler) EXPECT ¶
func (_m *Handler) EXPECT() *Handler_Expecter
type Handler_Expecter ¶
type Handler_Expecter struct {
// contains filtered or unexported fields
}
func (*Handler_Expecter) Register ¶
func (_e *Handler_Expecter) Register(serveMux interface{}, handlerOptions interface{}) *Handler_Register_Call
Register is a helper method to define mock.On call
- serveMux *http.ServeMux
- handlerOptions []connect.HandlerOption
type Handler_Register_Call ¶
Handler_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'
func (*Handler_Register_Call) Return ¶
func (_c *Handler_Register_Call) Return() *Handler_Register_Call
func (*Handler_Register_Call) Run ¶
func (_c *Handler_Register_Call) Run(run func(serveMux *http.ServeMux, handlerOptions []connect.HandlerOption)) *Handler_Register_Call
func (*Handler_Register_Call) RunAndReturn ¶
func (_c *Handler_Register_Call) RunAndReturn(run func(serveMux *http.ServeMux, handlerOptions []connect.HandlerOption)) *Handler_Register_Call
Click to show internal directories.
Click to hide internal directories.