feat: gamemaster

This commit is contained in:
Ilia Denisov
2026-05-03 07:59:03 +02:00
committed by GitHub
parent a7cee15115
commit 3e2622757e
229 changed files with 41521 additions and 1098 deletions
@@ -0,0 +1,13 @@
package membership
import "errors"
// ErrLobbyUnavailable signals that a Resolve call could not be completed
// because the upstream Lobby service was unreachable. The cache wraps
// `ports.ErrLobbyUnavailable` returned by the LobbyClient adapter; hot-path
// services map this sentinel to `service_unavailable`.
//
// Callers branch with errors.Is. Returned only on cache miss / TTL expiry
// when the Lobby fetch fails; cached entries are served regardless of
// upstream availability until the TTL elapses.
var ErrLobbyUnavailable = errors.New("membership cache: lobby unavailable")