Documentation ¶
Index ¶
- type MockDB
- func (mdb *MockDB) DeleteTicker(tic string) error
- func (mdb *MockDB) DeleteWatch(w string) error
- func (mdb *MockDB) GetAllTickers() ([]*giles.Ticker, error)
- func (mdb *MockDB) GetTicker(tic string) (*giles.Ticker, error)
- func (mdb *MockDB) GetWatch() ([]*giles.Watch, error)
- func (mdb *MockDB) SaveTicker(tic *giles.Ticker) error
- func (mdb *MockDB) UpsertWatch(w *giles.Watch) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDB ¶
type MockDB struct { }
MockDB - Database Object
func (*MockDB) DeleteTicker ¶
DeleteTicker - Delete Ticker Watcher
func (*MockDB) DeleteWatch ¶
func (*MockDB) GetAllTickers ¶
GetAllTickers - Mocked Function to Retrieve a list of Ticker Watches
func (*MockDB) SaveTicker ¶
SaveTicker - Mocked Fuction for Saving Ticker Watch
Click to show internal directories.
Click to hide internal directories.