mocks

package
v0.0.0-...-6c4cad4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExchangeFinderMock

type ExchangeFinderMock struct {
	mock.Mock
}

func (*ExchangeFinderMock) FindBySymbol

func (m *ExchangeFinderMock) FindBySymbol(n string) (*exchange.Exchange, error)

type MarketFinderMock

type MarketFinderMock struct {
	mock.Mock
}

func (*MarketFinderMock) FindByName

func (m *MarketFinderMock) FindByName(n string) (*market.Market, error)

type ReaderMock

type ReaderMock struct {
	mock.Mock
	// contains filtered or unexported fields
}

func (*ReaderMock) Close

func (m *ReaderMock) Close() error

func (*ReaderMock) Open

func (m *ReaderMock) Open() error

func (*ReaderMock) ReadLine

func (m *ReaderMock) ReadLine() (record []string, err error)

type StockPersisterMock

type StockPersisterMock struct {
	mock.Mock
}

func (*StockPersisterMock) PersistAll

func (m *StockPersisterMock) PersistAll(ss []*stock.Stock) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL