Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDelayTime ¶
func NewEntryManagers ¶
func NewEntryManagers() *repository.Mgrs
func NewGlicko2Matcher ¶
func NewGlicko2Matcher(roomChannel chan entry.Room, conf *config.MatchConfig, mgrs *repository.Mgrs) *glicko2.Matcher
Types ¶
type API ¶
type API struct {
MS service.Match
M *matcher.Matcher
PM *repository.PlayerMgr
GM *repository.GroupMgr
TM *repository.TeamMgr
RM *repository.RoomMgr
}
type InfraBase ¶
type InfraBase struct {
*goapm.Infra
SC config.Configer[config.ServerConfig]
MC config.Configer[config.MatchConfig]
}
InfraBase is the base infrastructure for the api.
func NewInfraBase ¶
func NewInfraBase( sc config.Configer[config.ServerConfig], mc config.Configer[config.MatchConfig], ) *InfraBase
NewInfraBase creates a new InfraBase.
Click to show internal directories.
Click to hide internal directories.