mock

package
v0.0.12-entry Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 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

	MatchTimeoutSec = MatchTimeoutMs / 1000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MatchConfigerMock

type MatchConfigerMock struct {
	// contains filtered or unexported fields
}

func NewMatchConfigerMock

func NewMatchConfigerMock(c *config.MatchConfig) *MatchConfigerMock

func (*MatchConfigerMock) Get

type MatchStrategyMock

type MatchStrategyMock struct{}

func (*MatchStrategyMock) GetMatchStrategy

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

type ServerConfigerMock

type ServerConfigerMock struct {
	// contains filtered or unexported fields
}

func NewServerConfigerMock

func NewServerConfigerMock() *ServerConfigerMock

func (*ServerConfigerMock) Get

Jump to

Keyboard shortcuts

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