Documentation ¶
Index ¶
Constants ¶
View Source
const ( // VersionOne is the first protocol version. VersioneOne = 1 // CurrentVersion always holds the newest version in production. CurrentVersion = 1 )
Variables ¶
View Source
var ( MainMapName = "main" MainMapScope = hub.ScopePublic )
Functions ¶
func EnableClient ¶
func EnableClient(enable bool)
func EnablePublicHub ¶
func EnablePublicHub(enable bool)
func HubHasIPv4 ¶ added in v0.3.1
func HubHasIPv4() bool
func HubHasIPv6 ¶ added in v0.3.1
func HubHasIPv6() bool
func SetHubNetworks ¶ added in v0.3.1
func SetHubNetworks(v4, v6 bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.