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 ¶
func (cm *MatchConfigerMock) Get() *config.MatchConfig
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 ¶
func (sc *ServerConfigerMock) Get() *config.ServerConfig
Click to show internal directories.
Click to hide internal directories.