env

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServerAddress = "ascenmmo.com"
	TokenKey      = "_remember_token_mast_be_32_bytes"
	DebugLogs     = true
)
View Source
var (
	RunMultiplayer                 = true
	RunAdminPanel                  = true
	MultiplayerPort                = "8080"
	MongoURL                       = "mongodb://username:userpassword@ascenmmo.com:27017"
	MultiplayerMaxRequestPerSecond = 100
)
View Source
var (
	RunUdpServer                 = true
	UdpServerPort                = "8081"
	UdpServerConnectionPort      = "4500"
	UdpServerMaxRequestPerSecond = 200
)
View Source
var (
	RunWebsocketServer                 = true
	WebsocketServerPort                = "8082"
	WebsocketServerConnectionPort      = "4240"
	WebsocketServerMaxRequestPerSecond = 100
)
View Source
var (
	RunTcpServer                 = true
	TcpServerPort                = "8083"
	TcpServerMaxRequestPerSecond = 5
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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