api

package
v0.0.9-config Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDelayTime

func NewDelayTime(conf *config.Config) (timer.Operator[int64], error)

func NewEntryManagers

func NewEntryManagers() *repository.Mgrs

func NewGlicko2Matcher

func NewGlicko2Matcher(roomChannel chan entry.Room, conf *config.Config, mgrs *repository.Mgrs) *glicko2.Matcher

Types

type API

func NewAPI

func NewAPI(conf *config.Config,
	groupChannel chan entry.Group, roomChannel chan entry.Room,
	dt timer.Operator[int64], gm *glicko2.Matcher, mgrs *repository.Mgrs) *API

func Start

func Start(conf *config.Config) (api *API, shutdown func())

Start initializes the api components and starts them.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL