Documentation ¶
Index ¶
- type HandlerWithInput
- type HandlerWithInput_Expecter
- type HandlerWithInput_GetInput_Call
- type HandlerWithInput_Handle_Call
- func (_c *HandlerWithInput_Handle_Call) Return(response *httpserver.Response, err error) *HandlerWithInput_Handle_Call
- func (_c *HandlerWithInput_Handle_Call) Run(run func(requestContext context.Context, request *httpserver.Request)) *HandlerWithInput_Handle_Call
- func (_c *HandlerWithInput_Handle_Call) RunAndReturn(run func(context.Context, *httpserver.Request) (*httpserver.Response, error)) *HandlerWithInput_Handle_Call
- type HandlerWithMultipleBindings
- func (_m *HandlerWithMultipleBindings) EXPECT() *HandlerWithMultipleBindings_Expecter
- func (_m *HandlerWithMultipleBindings) GetBindings() []binding.Binding
- func (_m *HandlerWithMultipleBindings) GetInput() interface{}
- func (_m *HandlerWithMultipleBindings) Handle(requestContext context.Context, request *httpserver.Request) (*httpserver.Response, error)
- type HandlerWithMultipleBindings_Expecter
- func (_e *HandlerWithMultipleBindings_Expecter) GetBindings() *HandlerWithMultipleBindings_GetBindings_Call
- func (_e *HandlerWithMultipleBindings_Expecter) GetInput() *HandlerWithMultipleBindings_GetInput_Call
- func (_e *HandlerWithMultipleBindings_Expecter) Handle(requestContext interface{}, request interface{}) *HandlerWithMultipleBindings_Handle_Call
- type HandlerWithMultipleBindings_GetBindings_Call
- func (_c *HandlerWithMultipleBindings_GetBindings_Call) Return(_a0 []binding.Binding) *HandlerWithMultipleBindings_GetBindings_Call
- func (_c *HandlerWithMultipleBindings_GetBindings_Call) Run(run func()) *HandlerWithMultipleBindings_GetBindings_Call
- func (_c *HandlerWithMultipleBindings_GetBindings_Call) RunAndReturn(run func() []binding.Binding) *HandlerWithMultipleBindings_GetBindings_Call
- type HandlerWithMultipleBindings_GetInput_Call
- func (_c *HandlerWithMultipleBindings_GetInput_Call) Return(_a0 interface{}) *HandlerWithMultipleBindings_GetInput_Call
- func (_c *HandlerWithMultipleBindings_GetInput_Call) Run(run func()) *HandlerWithMultipleBindings_GetInput_Call
- func (_c *HandlerWithMultipleBindings_GetInput_Call) RunAndReturn(run func() interface{}) *HandlerWithMultipleBindings_GetInput_Call
- type HandlerWithMultipleBindings_Handle_Call
- func (_c *HandlerWithMultipleBindings_Handle_Call) Return(response *httpserver.Response, err error) *HandlerWithMultipleBindings_Handle_Call
- func (_c *HandlerWithMultipleBindings_Handle_Call) Run(run func(requestContext context.Context, request *httpserver.Request)) *HandlerWithMultipleBindings_Handle_Call
- func (_c *HandlerWithMultipleBindings_Handle_Call) RunAndReturn(run func(context.Context, *httpserver.Request) (*httpserver.Response, error)) *HandlerWithMultipleBindings_Handle_Call
- type HandlerWithStream
- type HandlerWithStream_Expecter
- type HandlerWithStream_GetInput_Call
- func (_c *HandlerWithStream_GetInput_Call) Return(_a0 interface{}) *HandlerWithStream_GetInput_Call
- func (_c *HandlerWithStream_GetInput_Call) Run(run func()) *HandlerWithStream_GetInput_Call
- func (_c *HandlerWithStream_GetInput_Call) RunAndReturn(run func() interface{}) *HandlerWithStream_GetInput_Call
- type HandlerWithStream_Handle_Call
- func (_c *HandlerWithStream_Handle_Call) Return(err error) *HandlerWithStream_Handle_Call
- func (_c *HandlerWithStream_Handle_Call) Run(run func(ginContext *gin.Context, requestContext context.Context, ...)) *HandlerWithStream_Handle_Call
- func (_c *HandlerWithStream_Handle_Call) RunAndReturn(run func(*gin.Context, context.Context, *httpserver.Request) error) *HandlerWithStream_Handle_Call
- type HandlerWithoutInput
- type HandlerWithoutInput_Expecter
- type HandlerWithoutInput_Handle_Call
- func (_c *HandlerWithoutInput_Handle_Call) Return(response *httpserver.Response, err error) *HandlerWithoutInput_Handle_Call
- func (_c *HandlerWithoutInput_Handle_Call) Run(run func(requestContext context.Context, request *httpserver.Request)) *HandlerWithoutInput_Handle_Call
- func (_c *HandlerWithoutInput_Handle_Call) RunAndReturn(run func(context.Context, *httpserver.Request) (*httpserver.Response, error)) *HandlerWithoutInput_Handle_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerWithInput ¶
HandlerWithInput is an autogenerated mock type for the HandlerWithInput type
func NewHandlerWithInput ¶
func NewHandlerWithInput(t interface { mock.TestingT Cleanup(func()) }) *HandlerWithInput
NewHandlerWithInput creates a new instance of HandlerWithInput. 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 (*HandlerWithInput) EXPECT ¶
func (_m *HandlerWithInput) EXPECT() *HandlerWithInput_Expecter
func (*HandlerWithInput) GetInput ¶
func (_m *HandlerWithInput) GetInput() interface{}
GetInput provides a mock function with given fields:
func (*HandlerWithInput) Handle ¶
func (_m *HandlerWithInput) Handle(requestContext context.Context, request *httpserver.Request) (*httpserver.Response, error)
Handle provides a mock function with given fields: requestContext, request
type HandlerWithInput_Expecter ¶
type HandlerWithInput_Expecter struct {
// contains filtered or unexported fields
}
func (*HandlerWithInput_Expecter) GetInput ¶
func (_e *HandlerWithInput_Expecter) GetInput() *HandlerWithInput_GetInput_Call
GetInput is a helper method to define mock.On call
func (*HandlerWithInput_Expecter) Handle ¶
func (_e *HandlerWithInput_Expecter) Handle(requestContext interface{}, request interface{}) *HandlerWithInput_Handle_Call
Handle is a helper method to define mock.On call
- requestContext context.Context
- request *httpserver.Request
type HandlerWithInput_GetInput_Call ¶
HandlerWithInput_GetInput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInput'
func (*HandlerWithInput_GetInput_Call) Return ¶
func (_c *HandlerWithInput_GetInput_Call) Return(_a0 interface{}) *HandlerWithInput_GetInput_Call
func (*HandlerWithInput_GetInput_Call) Run ¶
func (_c *HandlerWithInput_GetInput_Call) Run(run func()) *HandlerWithInput_GetInput_Call
func (*HandlerWithInput_GetInput_Call) RunAndReturn ¶
func (_c *HandlerWithInput_GetInput_Call) RunAndReturn(run func() interface{}) *HandlerWithInput_GetInput_Call
type HandlerWithInput_Handle_Call ¶
HandlerWithInput_Handle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handle'
func (*HandlerWithInput_Handle_Call) Return ¶
func (_c *HandlerWithInput_Handle_Call) Return(response *httpserver.Response, err error) *HandlerWithInput_Handle_Call
func (*HandlerWithInput_Handle_Call) Run ¶
func (_c *HandlerWithInput_Handle_Call) Run(run func(requestContext context.Context, request *httpserver.Request)) *HandlerWithInput_Handle_Call
func (*HandlerWithInput_Handle_Call) RunAndReturn ¶
func (_c *HandlerWithInput_Handle_Call) RunAndReturn(run func(context.Context, *httpserver.Request) (*httpserver.Response, error)) *HandlerWithInput_Handle_Call
type HandlerWithMultipleBindings ¶
HandlerWithMultipleBindings is an autogenerated mock type for the HandlerWithMultipleBindings type
func NewHandlerWithMultipleBindings ¶
func NewHandlerWithMultipleBindings(t interface { mock.TestingT Cleanup(func()) }) *HandlerWithMultipleBindings
NewHandlerWithMultipleBindings creates a new instance of HandlerWithMultipleBindings. 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 (*HandlerWithMultipleBindings) EXPECT ¶
func (_m *HandlerWithMultipleBindings) EXPECT() *HandlerWithMultipleBindings_Expecter
func (*HandlerWithMultipleBindings) GetBindings ¶
func (_m *HandlerWithMultipleBindings) GetBindings() []binding.Binding
GetBindings provides a mock function with given fields:
func (*HandlerWithMultipleBindings) GetInput ¶
func (_m *HandlerWithMultipleBindings) GetInput() interface{}
GetInput provides a mock function with given fields:
func (*HandlerWithMultipleBindings) Handle ¶
func (_m *HandlerWithMultipleBindings) Handle(requestContext context.Context, request *httpserver.Request) (*httpserver.Response, error)
Handle provides a mock function with given fields: requestContext, request
type HandlerWithMultipleBindings_Expecter ¶
type HandlerWithMultipleBindings_Expecter struct {
// contains filtered or unexported fields
}
func (*HandlerWithMultipleBindings_Expecter) GetBindings ¶
func (_e *HandlerWithMultipleBindings_Expecter) GetBindings() *HandlerWithMultipleBindings_GetBindings_Call
GetBindings is a helper method to define mock.On call
func (*HandlerWithMultipleBindings_Expecter) GetInput ¶
func (_e *HandlerWithMultipleBindings_Expecter) GetInput() *HandlerWithMultipleBindings_GetInput_Call
GetInput is a helper method to define mock.On call
func (*HandlerWithMultipleBindings_Expecter) Handle ¶
func (_e *HandlerWithMultipleBindings_Expecter) Handle(requestContext interface{}, request interface{}) *HandlerWithMultipleBindings_Handle_Call
Handle is a helper method to define mock.On call
- requestContext context.Context
- request *httpserver.Request
type HandlerWithMultipleBindings_GetBindings_Call ¶
HandlerWithMultipleBindings_GetBindings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBindings'
func (*HandlerWithMultipleBindings_GetBindings_Call) Return ¶
func (_c *HandlerWithMultipleBindings_GetBindings_Call) Return(_a0 []binding.Binding) *HandlerWithMultipleBindings_GetBindings_Call
func (*HandlerWithMultipleBindings_GetBindings_Call) Run ¶
func (_c *HandlerWithMultipleBindings_GetBindings_Call) Run(run func()) *HandlerWithMultipleBindings_GetBindings_Call
func (*HandlerWithMultipleBindings_GetBindings_Call) RunAndReturn ¶
func (_c *HandlerWithMultipleBindings_GetBindings_Call) RunAndReturn(run func() []binding.Binding) *HandlerWithMultipleBindings_GetBindings_Call
type HandlerWithMultipleBindings_GetInput_Call ¶
HandlerWithMultipleBindings_GetInput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInput'
func (*HandlerWithMultipleBindings_GetInput_Call) Return ¶
func (_c *HandlerWithMultipleBindings_GetInput_Call) Return(_a0 interface{}) *HandlerWithMultipleBindings_GetInput_Call
func (*HandlerWithMultipleBindings_GetInput_Call) Run ¶
func (_c *HandlerWithMultipleBindings_GetInput_Call) Run(run func()) *HandlerWithMultipleBindings_GetInput_Call
func (*HandlerWithMultipleBindings_GetInput_Call) RunAndReturn ¶
func (_c *HandlerWithMultipleBindings_GetInput_Call) RunAndReturn(run func() interface{}) *HandlerWithMultipleBindings_GetInput_Call
type HandlerWithMultipleBindings_Handle_Call ¶
HandlerWithMultipleBindings_Handle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handle'
func (*HandlerWithMultipleBindings_Handle_Call) Return ¶
func (_c *HandlerWithMultipleBindings_Handle_Call) Return(response *httpserver.Response, err error) *HandlerWithMultipleBindings_Handle_Call
func (*HandlerWithMultipleBindings_Handle_Call) Run ¶
func (_c *HandlerWithMultipleBindings_Handle_Call) Run(run func(requestContext context.Context, request *httpserver.Request)) *HandlerWithMultipleBindings_Handle_Call
func (*HandlerWithMultipleBindings_Handle_Call) RunAndReturn ¶
func (_c *HandlerWithMultipleBindings_Handle_Call) RunAndReturn(run func(context.Context, *httpserver.Request) (*httpserver.Response, error)) *HandlerWithMultipleBindings_Handle_Call
type HandlerWithStream ¶
HandlerWithStream is an autogenerated mock type for the HandlerWithStream type
func NewHandlerWithStream ¶
func NewHandlerWithStream(t interface { mock.TestingT Cleanup(func()) }) *HandlerWithStream
NewHandlerWithStream creates a new instance of HandlerWithStream. 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 (*HandlerWithStream) EXPECT ¶
func (_m *HandlerWithStream) EXPECT() *HandlerWithStream_Expecter
func (*HandlerWithStream) GetInput ¶
func (_m *HandlerWithStream) GetInput() interface{}
GetInput provides a mock function with given fields:
func (*HandlerWithStream) Handle ¶
func (_m *HandlerWithStream) Handle(ginContext *gin.Context, requestContext context.Context, request *httpserver.Request) error
Handle provides a mock function with given fields: ginContext, requestContext, request
type HandlerWithStream_Expecter ¶
type HandlerWithStream_Expecter struct {
// contains filtered or unexported fields
}
func (*HandlerWithStream_Expecter) GetInput ¶
func (_e *HandlerWithStream_Expecter) GetInput() *HandlerWithStream_GetInput_Call
GetInput is a helper method to define mock.On call
func (*HandlerWithStream_Expecter) Handle ¶
func (_e *HandlerWithStream_Expecter) Handle(ginContext interface{}, requestContext interface{}, request interface{}) *HandlerWithStream_Handle_Call
Handle is a helper method to define mock.On call
- ginContext *gin.Context
- requestContext context.Context
- request *httpserver.Request
type HandlerWithStream_GetInput_Call ¶
HandlerWithStream_GetInput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInput'
func (*HandlerWithStream_GetInput_Call) Return ¶
func (_c *HandlerWithStream_GetInput_Call) Return(_a0 interface{}) *HandlerWithStream_GetInput_Call
func (*HandlerWithStream_GetInput_Call) Run ¶
func (_c *HandlerWithStream_GetInput_Call) Run(run func()) *HandlerWithStream_GetInput_Call
func (*HandlerWithStream_GetInput_Call) RunAndReturn ¶
func (_c *HandlerWithStream_GetInput_Call) RunAndReturn(run func() interface{}) *HandlerWithStream_GetInput_Call
type HandlerWithStream_Handle_Call ¶
HandlerWithStream_Handle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handle'
func (*HandlerWithStream_Handle_Call) Return ¶
func (_c *HandlerWithStream_Handle_Call) Return(err error) *HandlerWithStream_Handle_Call
func (*HandlerWithStream_Handle_Call) Run ¶
func (_c *HandlerWithStream_Handle_Call) Run(run func(ginContext *gin.Context, requestContext context.Context, request *httpserver.Request)) *HandlerWithStream_Handle_Call
func (*HandlerWithStream_Handle_Call) RunAndReturn ¶
func (_c *HandlerWithStream_Handle_Call) RunAndReturn(run func(*gin.Context, context.Context, *httpserver.Request) error) *HandlerWithStream_Handle_Call
type HandlerWithoutInput ¶
HandlerWithoutInput is an autogenerated mock type for the HandlerWithoutInput type
func NewHandlerWithoutInput ¶
func NewHandlerWithoutInput(t interface { mock.TestingT Cleanup(func()) }) *HandlerWithoutInput
NewHandlerWithoutInput creates a new instance of HandlerWithoutInput. 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 (*HandlerWithoutInput) EXPECT ¶
func (_m *HandlerWithoutInput) EXPECT() *HandlerWithoutInput_Expecter
func (*HandlerWithoutInput) Handle ¶
func (_m *HandlerWithoutInput) Handle(requestContext context.Context, request *httpserver.Request) (*httpserver.Response, error)
Handle provides a mock function with given fields: requestContext, request
type HandlerWithoutInput_Expecter ¶
type HandlerWithoutInput_Expecter struct {
// contains filtered or unexported fields
}
func (*HandlerWithoutInput_Expecter) Handle ¶
func (_e *HandlerWithoutInput_Expecter) Handle(requestContext interface{}, request interface{}) *HandlerWithoutInput_Handle_Call
Handle is a helper method to define mock.On call
- requestContext context.Context
- request *httpserver.Request
type HandlerWithoutInput_Handle_Call ¶
HandlerWithoutInput_Handle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handle'
func (*HandlerWithoutInput_Handle_Call) Return ¶
func (_c *HandlerWithoutInput_Handle_Call) Return(response *httpserver.Response, err error) *HandlerWithoutInput_Handle_Call
func (*HandlerWithoutInput_Handle_Call) Run ¶
func (_c *HandlerWithoutInput_Handle_Call) Run(run func(requestContext context.Context, request *httpserver.Request)) *HandlerWithoutInput_Handle_Call
func (*HandlerWithoutInput_Handle_Call) RunAndReturn ¶
func (_c *HandlerWithoutInput_Handle_Call) RunAndReturn(run func(context.Context, *httpserver.Request) (*httpserver.Response, error)) *HandlerWithoutInput_Handle_Call