Begun redesign of binance futures websocket. Added test provider for testing purposes.
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
package manager
|
||||
|
||||
import (
|
||||
"log/slog"
|
||||
|
||||
"gitlab.michelsen.id/phillmichelsen/tessera/services/data_service/internal/domain"
|
||||
)
|
||||
|
||||
func lg() *slog.Logger { return slog.Default().With("cmp", "manager") }
|
||||
|
||||
func identifierSetDifferences(oldIDs, nextIDs []domain.Identifier) (toAdd, toDel []domain.Identifier) {
|
||||
oldSet := make(map[domain.Identifier]struct{}, len(oldIDs))
|
||||
for _, id := range oldIDs {
|
||||
|
||||
Reference in New Issue
Block a user