Documentation
¶
Overview ¶
Package exchanges is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInexistantExchange = errors.New("inexistant exchange")
)
Functions ¶
This section is empty.
Types ¶
type MockPort ¶
type MockPort struct {
// contains filtered or unexported fields
}
MockPort is a mock of Port interface.
func NewMockPort ¶
func NewMockPort(ctrl *gomock.Controller) *MockPort
NewMockPort creates a new mock instance.
func (*MockPort) EXPECT ¶
func (m *MockPort) EXPECT() *MockPortMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPort) ListenSymbol ¶
func (m *MockPort) ListenSymbol(ctx context.Context, sub event.TickSubscription) (chan tick.Tick, chan struct{}, error)
ListenSymbol mocks base method.
type MockPortMockRecorder ¶
type MockPortMockRecorder struct {
// contains filtered or unexported fields
}
MockPortMockRecorder is the mock recorder for MockPort.
func (*MockPortMockRecorder) ListenSymbol ¶
func (mr *MockPortMockRecorder) ListenSymbol(ctx, sub interface{}) *gomock.Call
ListenSymbol indicates an expected call of ListenSymbol.
Click to show internal directories.
Click to hide internal directories.