Update Dockerfile and main.go: upgrade Go version, optimize build stages, and adjust binary output path

This commit is contained in:
2025-08-09 15:17:51 +00:00
parent dec67f2565
commit ef4a28fb29
4 changed files with 224 additions and 17 deletions

View File

@@ -77,6 +77,8 @@ func (b *FuturesWebsocket) CancelStream(subject string) {
}
_ = b.conn.WriteJSON(msg)
fmt.Println("Unsubscribed from stream:", subject)
delete(b.activeStreams, subject)
}