mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-10 02:20:05 +00:00
unknown
d7445e0f0f
- loginMetadata is passed to shards through redis now - shards announce they're alive via redis.AnnounceShard() which just populates a hashset keyed 'shards' - login servers grab the 'shards' hashset and randomly picks a shard to pass the player to (for now) - ./service shard && ./service login - Many new environment variables, check config/config.go for more info. or for a tl;dr just read the Dockerfile for the required ones - Shard and login services now run in different processes ! (and containers?? wooaaah)
19 lines
456 B
Modula-2
19 lines
456 B
Modula-2
module github.com/CPunch/gopenfusion
|
|
|
|
go 1.19
|
|
|
|
require (
|
|
github.com/blockloop/scan v1.3.0
|
|
github.com/georgysavva/scany/v2 v2.0.0
|
|
github.com/google/subcommands v1.2.0
|
|
github.com/lib/pq v1.10.9
|
|
github.com/redis/go-redis/v9 v9.0.5
|
|
golang.org/x/crypto v0.7.0
|
|
)
|
|
|
|
require (
|
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
|
github.com/mattn/go-sqlite3 v1.14.15 // indirect
|
|
)
|