Documentation ¶
Index ¶
- type RequestHandler
- type RequestHandler_Expecter
- type RequestHandler_HandleMessage_Call
- func (_c *RequestHandler_HandleMessage_Call) Return(_a0 *gomemcached.MCResponse) *RequestHandler_HandleMessage_Call
- func (_c *RequestHandler_HandleMessage_Call) Run(run func(_a0 io.Writer, _a1 *gomemcached.MCRequest)) *RequestHandler_HandleMessage_Call
- func (_c *RequestHandler_HandleMessage_Call) RunAndReturn(run func(io.Writer, *gomemcached.MCRequest) *gomemcached.MCResponse) *RequestHandler_HandleMessage_Call
- type TapItemParser
- type TapItemParser_Execute_Call
- func (_c *TapItemParser_Execute_Call) Return(_a0 interface{}, _a1 error) *TapItemParser_Execute_Call
- func (_c *TapItemParser_Execute_Call) Run(run func(_a0 io.Reader)) *TapItemParser_Execute_Call
- func (_c *TapItemParser_Execute_Call) RunAndReturn(run func(io.Reader) (interface{}, error)) *TapItemParser_Execute_Call
- type TapItemParser_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestHandler ¶
RequestHandler is an autogenerated mock type for the RequestHandler type
func NewRequestHandler ¶ added in v0.2.1
func NewRequestHandler(t interface { mock.TestingT Cleanup(func()) }) *RequestHandler
NewRequestHandler creates a new instance of RequestHandler. 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 (*RequestHandler) EXPECT ¶ added in v0.3.0
func (_m *RequestHandler) EXPECT() *RequestHandler_Expecter
func (*RequestHandler) HandleMessage ¶
func (_m *RequestHandler) HandleMessage(_a0 io.Writer, _a1 *gomemcached.MCRequest) *gomemcached.MCResponse
HandleMessage provides a mock function with given fields: _a0, _a1
type RequestHandler_Expecter ¶ added in v0.3.0
type RequestHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*RequestHandler_Expecter) HandleMessage ¶ added in v0.3.0
func (_e *RequestHandler_Expecter) HandleMessage(_a0 interface{}, _a1 interface{}) *RequestHandler_HandleMessage_Call
HandleMessage is a helper method to define mock.On call
- _a0 io.Writer
- _a1 *gomemcached.MCRequest
type RequestHandler_HandleMessage_Call ¶ added in v0.3.0
RequestHandler_HandleMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleMessage'
func (*RequestHandler_HandleMessage_Call) Return ¶ added in v0.3.0
func (_c *RequestHandler_HandleMessage_Call) Return(_a0 *gomemcached.MCResponse) *RequestHandler_HandleMessage_Call
func (*RequestHandler_HandleMessage_Call) Run ¶ added in v0.3.0
func (_c *RequestHandler_HandleMessage_Call) Run(run func(_a0 io.Writer, _a1 *gomemcached.MCRequest)) *RequestHandler_HandleMessage_Call
func (*RequestHandler_HandleMessage_Call) RunAndReturn ¶ added in v0.3.0
func (_c *RequestHandler_HandleMessage_Call) RunAndReturn(run func(io.Writer, *gomemcached.MCRequest) *gomemcached.MCResponse) *RequestHandler_HandleMessage_Call
type TapItemParser ¶ added in v0.1.4
TapItemParser is an autogenerated mock type for the TapItemParser type
func NewTapItemParser ¶ added in v0.2.1
func NewTapItemParser(t interface { mock.TestingT Cleanup(func()) }) *TapItemParser
NewTapItemParser creates a new instance of TapItemParser. 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 (*TapItemParser) EXPECT ¶ added in v0.3.0
func (_m *TapItemParser) EXPECT() *TapItemParser_Expecter
type TapItemParser_Execute_Call ¶ added in v0.3.0
TapItemParser_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*TapItemParser_Execute_Call) Return ¶ added in v0.3.0
func (_c *TapItemParser_Execute_Call) Return(_a0 interface{}, _a1 error) *TapItemParser_Execute_Call
func (*TapItemParser_Execute_Call) Run ¶ added in v0.3.0
func (_c *TapItemParser_Execute_Call) Run(run func(_a0 io.Reader)) *TapItemParser_Execute_Call
func (*TapItemParser_Execute_Call) RunAndReturn ¶ added in v0.3.0
func (_c *TapItemParser_Execute_Call) RunAndReturn(run func(io.Reader) (interface{}, error)) *TapItemParser_Execute_Call
type TapItemParser_Expecter ¶ added in v0.3.0
type TapItemParser_Expecter struct {
// contains filtered or unexported fields
}
func (*TapItemParser_Expecter) Execute ¶ added in v0.3.0
func (_e *TapItemParser_Expecter) Execute(_a0 interface{}) *TapItemParser_Execute_Call
Execute is a helper method to define mock.On call
- _a0 io.Reader