constant

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: 0 Imported by: 0

Documentation

Overview

Package constant defines some constants. Constants that can be referenced by any package. However, this package should not import or reference any other package within the project.

Index

Constants

This section is empty.

Variables

View Source
var GameModeNames = map[GameMode]string{
	GameModeTest:     "test",
	GameModeGoatGame: "goat_game",
}

Functions

This section is empty.

Types

type GameMode

type GameMode int
const (
	GameModeTest     GameMode = -1
	GameModeGoatGame GameMode = 905
)

type MatchStrategy

type MatchStrategy int
const (
	MatchStrategyGlicko2 MatchStrategy = 1
)

type NetProtocol

type NetProtocol string
const (
	TCP   NetProtocol = "tcp"
	UDP   NetProtocol = "udp"
	WS    NetProtocol = "ws"
	WSS   NetProtocol = "wss"
	KCP   NetProtocol = "kcp"
	GRPC  NetProtocol = "grpc"
	GRPCS NetProtocol = "grpcs"
)

Jump to

Keyboard shortcuts

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