RedisBridge enables multiple Hub instances to coordinate broadcasts and channel-targeted messages across processes via Redis pub/sub. Uses envelope pattern with sourceID for infinite loop prevention. Phase 3 items 1-2 complete. 15 tests including cross-bridge messaging, loop prevention, concurrent publishes, and graceful shutdown. Race-free under -race. Co-Authored-By: Virgil <virgil@lethean.io>
18 lines
485 B
Modula-2
18 lines
485 B
Modula-2
module forge.lthn.ai/core/go-ws
|
|
|
|
go 1.25.5
|
|
|
|
require (
|
|
github.com/gorilla/websocket v1.5.3
|
|
github.com/redis/go-redis/v9 v9.18.0
|
|
github.com/stretchr/testify v1.11.1
|
|
)
|
|
|
|
require (
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
go.uber.org/atomic v1.11.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|