feat: use postgres
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
// Package redisstate defines the frozen Game Lobby Service Redis keyspace,
|
||||
// strict JSON record shapes, and low-level mutation helpers used by the
|
||||
// Game Lobby store adapters.
|
||||
// Package redisstate defines the Game Lobby Service Redis keyspace and
|
||||
// the adapters for the runtime-coordination state that intentionally
|
||||
// stays on Redis after the PG_PLAN.md §6A and §6B migrations.
|
||||
//
|
||||
// Adapters in this package implement ports.GameStore,
|
||||
// ports.ApplicationStore, ports.InviteStore, and ports.MembershipStore on
|
||||
// top of a `*redis.Client`. Every marshal and unmarshal round-trip calls
|
||||
// the domain-level Validate method to guarantee that the store never
|
||||
// exposes malformed records.
|
||||
// Adapters in this package implement ports.GameTurnStatsStore,
|
||||
// ports.GapActivationStore, ports.EvaluationGuardStore, and
|
||||
// ports.StreamOffsetStore plus the StreamLagProbe used for telemetry. The
|
||||
// durable enrollment entities (game, application, invite, membership)
|
||||
// and the Race Name Directory live in PostgreSQL; their previous Redis
|
||||
// adapters and codecs have been removed.
|
||||
package redisstate
|
||||
|
||||
Reference in New Issue
Block a user