Documentation
¶
Index ¶
- type Client
- func (_m *Client) Echo(_a0 context.Context, _a1 string) (*types.ResponseEcho, error)
- func (_m *Client) Error() error
- func (_m *Client) Flush(_a0 context.Context) error
- func (_m *Client) Info(_a0 context.Context, _a1 *types.RequestInfo) (*types.ResponseInfo, error)
- func (_m *Client) IsRunning() bool
- func (_m *Client) OnReset() error
- func (_m *Client) OnStart() error
- func (_m *Client) OnStop()
- func (_m *Client) ProcessDVSRequest(_a0 context.Context, _a1 *types.RequestProcessDVSRequest) (*types.ResponseProcessDVSRequest, error)
- func (_m *Client) ProcessDVSResponse(_a0 context.Context, _a1 *types.RequestProcessDVSResponse) (*types.ResponseProcessDVSResponse, error)
- func (_m *Client) Query(_a0 context.Context, _a1 *types.RequestQuery) (*types.ResponseQuery, error)
- func (_m *Client) Quit() <-chan struct{}
- func (_m *Client) Reset() error
- func (_m *Client) SetLogger(_a0 log.Logger)
- func (_m *Client) Start() error
- func (_m *Client) Stop() error
- func (_m *Client) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. 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 (*Client) Info ¶
func (_m *Client) Info(_a0 context.Context, _a1 *types.RequestInfo) (*types.ResponseInfo, error)
Info provides a mock function with given fields: _a0, _a1
func (*Client) ProcessDVSRequest ¶
func (_m *Client) ProcessDVSRequest(_a0 context.Context, _a1 *types.RequestProcessDVSRequest) (*types.ResponseProcessDVSRequest, error)
ProcessDVSRequest provides a mock function with given fields: _a0, _a1
func (*Client) ProcessDVSResponse ¶
func (_m *Client) ProcessDVSResponse(_a0 context.Context, _a1 *types.RequestProcessDVSResponse) (*types.ResponseProcessDVSResponse, error)
ProcessDVSResponse provides a mock function with given fields: _a0, _a1
func (*Client) Query ¶
func (_m *Client) Query(_a0 context.Context, _a1 *types.RequestQuery) (*types.ResponseQuery, error)
Query provides a mock function with given fields: _a0, _a1
func (*Client) Quit ¶
func (_m *Client) Quit() <-chan struct{}
Quit provides a mock function with no fields
Click to show internal directories.
Click to hide internal directories.