constant

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: 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

This section is empty.

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