Documentation ¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
- type Client
- type Interfacer
- type MockInterfacer
- func (m *MockInterfacer) EXPECT() *MockInterfacerMockRecorder
- func (m *MockInterfacer) Listen(symbol string) (<-chan tick.Tick, error)
- func (m *MockInterfacer) Register(ctx context.Context, exchange, symbol string) error
- func (m *MockInterfacer) Unregister(ctx context.Context, exchange, symbol string) error
- type MockInterfacerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type Interfacer ¶
type MockInterfacer ¶
type MockInterfacer struct {
// contains filtered or unexported fields
}
MockInterfacer is a mock of Interfacer interface.
func NewMockInterfacer ¶
func NewMockInterfacer(ctrl *gomock.Controller) *MockInterfacer
NewMockInterfacer creates a new mock instance.
func (*MockInterfacer) EXPECT ¶
func (m *MockInterfacer) EXPECT() *MockInterfacerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterfacer) Listen ¶
func (m *MockInterfacer) Listen(symbol string) (<-chan tick.Tick, error)
Listen mocks base method.
func (*MockInterfacer) Register ¶
func (m *MockInterfacer) Register(ctx context.Context, exchange, symbol string) error
Register mocks base method.
func (*MockInterfacer) Unregister ¶
func (m *MockInterfacer) Unregister(ctx context.Context, exchange, symbol string) error
Unregister mocks base method.
type MockInterfacerMockRecorder ¶
type MockInterfacerMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfacerMockRecorder is the mock recorder for MockInterfacer.
func (*MockInterfacerMockRecorder) Listen ¶
func (mr *MockInterfacerMockRecorder) Listen(symbol interface{}) *gomock.Call
Listen indicates an expected call of Listen.
func (*MockInterfacerMockRecorder) Register ¶
func (mr *MockInterfacerMockRecorder) Register(ctx, exchange, symbol interface{}) *gomock.Call
Register indicates an expected call of Register.
func (*MockInterfacerMockRecorder) Unregister ¶
func (mr *MockInterfacerMockRecorder) Unregister(ctx, exchange, symbol interface{}) *gomock.Call
Unregister indicates an expected call of Unregister.
Click to show internal directories.
Click to hide internal directories.