engine/sync_manager: Rename Update to WebsocketUpdate (#1300)

* sync_manager: Update replaced with WebsocketUpdate

* sync_manager: replaced TestSyncManagerUpdate with TestSyncManagerWebsocketUpdate

* Update engine/sync_manager.go

---------

Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io>
This commit is contained in:
Bea
2023-08-07 13:40:09 +07:00
committed by GitHub
parent 4200447118
commit 067fae0e00
4 changed files with 18 additions and 18 deletions

View File

@@ -77,7 +77,7 @@ type iCurrencyPairSyncer interface {
IsRunning() bool
PrintTickerSummary(*ticker.Price, string, error)
PrintOrderbookSummary(*orderbook.Base, string, error)
Update(string, currency.Pair, asset.Item, syncItemType, error) error
WebsocketUpdate(string, currency.Pair, asset.Item, syncItemType, error) error
}
// iDatabaseConnectionManager defines a limited scoped databaseConnectionManager