package
0.0.0-20210119145015-96491ade4a78
Repository: https://github.com/fananchong/go-xserver.git
Documentation: pkg.go.dev

# Functions

GetDefaultServicePort : 获取缺省的对外端口.
GetIntranetListenPort : 获取服务器组内监听端口.
GetIP : 根据类型获取IP.
GetIPInner : 获取内网 IP.
GetIPOuter : 获取外网 IP.
NewTickerHelper : 定时器帮助类的构造函数.

# Constants

IPINNER : 类型 0 ,内网 IP.
IPOUTER : 类型 1 ,外网 IP.
PORTFORCLIENT : 端口类型(对客户端).
PORTFORINTRANET : 端口类型(对内网).

# Structs

Ticker : 定时器帮助类.

# Interfaces

IComponent : 组件接口.

# Type aliases

IPType : IP 类型.
PortType : PORT 类型.