Documentation
¶
Index ¶
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 ¶ added in v1.0.6
func (_m *Handler) EXPECT() *Handler_Expecter
type Handler_Expecter ¶ added in v1.0.6
type Handler_Expecter struct {
// contains filtered or unexported fields
}
func (*Handler_Expecter) Health ¶ added in v1.0.6
func (_e *Handler_Expecter) Health(c interface{}) *Handler_Health_Call
Health is a helper method to define mock.On call
- c *gin.Context
type Handler_Health_Call ¶ added in v1.0.6
Handler_Health_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Health'
func (*Handler_Health_Call) Return ¶ added in v1.0.6
func (_c *Handler_Health_Call) Return() *Handler_Health_Call
func (*Handler_Health_Call) Run ¶ added in v1.0.6
func (_c *Handler_Health_Call) Run(run func(c *gin.Context)) *Handler_Health_Call
func (*Handler_Health_Call) RunAndReturn ¶ added in v1.0.6
func (_c *Handler_Health_Call) RunAndReturn(run func(*gin.Context)) *Handler_Health_Call
Click to show internal directories.
Click to hide internal directories.