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

@@ -72,15 +72,3 @@ func (s *session) clearChannels() {
s.outChannel = nil
}
}
func (m *Manager) getSessionChannels(sid uuid.UUID) (chan<- domain.Message, <-chan domain.Message, error) {
s, ok := m.sessions[sid]
if !ok {
return nil, nil, ErrSessionNotFound
}
if !s.attached {
return nil, nil, ErrClientNotAttached
}
return s.inChannel, s.outChannel, nil
}