def

package
Version: v0.0.0-...-8dc4765 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NetworkManager = &network.Network{}
View Source
var PacketHandler = &network.PacketHandler{}
View Source
var RPCHandler = &rpc.Client{}
View Source
var ServerConfig = &Config{}
View Source
var ServerSettings = &Settings{}

Functions

This section is empty.

Types

type Config

type Config struct {
	Port int

	Version            int
	MagicKey           int
	CashWeb_URL        string
	CashWeb_Odc_URL    string
	CashWeb_Charge_URL string
	GuildWeb_URL       string
	Sns_URL            string

	MasterIp   string
	MasterPort int
}

func (*Config) Read

func (c *Config) Read()

Attempts to read server configuration file

type Settings

type Settings struct {
	server.Settings
	RSA rsa.RSA
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL