mock

package
v0.0.8-tcp Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	InviteTimeoutMs    = 300 * 1000
	MatchTimeoutMs     = 60 * 1000
	WaitAttrTimeoutMs  = 1
	ClearRoomTimeoutMs = 30 * 60 * 1000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DelayTimerMock

type DelayTimerMock struct{}

func (*DelayTimerMock) GetConfig

type Glicko2Mock

type Glicko2Mock struct{}

func (*Glicko2Mock) GetQueueArgs

func (gc *Glicko2Mock) GetQueueArgs(_ constant.GameMode) *glicko2.QueueArgs

type MatchStrategyMock

type MatchStrategyMock struct{}

func (*MatchStrategyMock) GetMatchStrategy

func (m *MatchStrategyMock) GetMatchStrategy(_ constant.GameMode) constant.MatchStrategy

Jump to

Keyboard shortcuts

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