Versions in this module Expand all Collapse all v1 v1.3.0 May 13, 2026 v1.2.0 May 1, 2026 Changes in this version + var ErrMatchmakerBusy = errors.New("matchmaker busy") + var ErrSessionNil = errors.New("session is nil") + type Matchmaker struct + func NewMatchmaker(a *adler.Adler, opts ...MatchmakingOption) *Matchmaker + func (m *Matchmaker) AddToQueue(s *adler.Session) error + func (m *Matchmaker) RemoveFromQueue(s *adler.Session) + type MatchmakingConfig struct + CommandBuffer int + MaxQueue int + MinRoomSize int + PartialRoomTimeout time.Duration + RoomSize int + type MatchmakingOption func(*MatchmakingConfig) + func WithCommandBuffer(size int) MatchmakingOption + func WithMinRoomSize(minRoomSize int) MatchmakingOption + func WithPartialRoomTimeout(timeout time.Duration) MatchmakingOption + func WithQueueLength(queueLength int) MatchmakingOption + func WithRoomSize(roomSize int) MatchmakingOption