Versions in this module Expand all Collapse all v0 v0.0.3 Jul 16, 2023 Changes in this version type Options + ConfigProvider gameconfig.Provider + Logger zerolog.Logger + type WeightedRand struct + func NewWeightedRand() *WeightedRand + func (w *WeightedRand) Add(value uint32, weight int64) error + func (w *WeightedRand) Choose() uint32 v0.0.2 Jun 19, 2023 Changes in this version + type Conn struct + func (c *Conn) Handle(ctx context.Context) error + type Options struct + AccountsService *accounts.Service + ChannelName string + PangyaIFF *iff.Archive + ServerID uint32 + TopologyClient topologypbconnect.TopologyServiceClient + type Server struct + func New(opts Options) *Server + func (s *Server) Listen(ctx context.Context, addr string) error + func (s *Server) Shutdown(shutdownCtx context.Context) error