Begun redesign of binance futures websocket. Added test provider for testing purposes.

This commit is contained in:
2025-09-11 08:29:12 +00:00
parent e56bb210f8
commit 924187b2f5
10 changed files with 261 additions and 451 deletions

View File

@@ -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 {