conf

package
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: AGPL-3.0 Imports: 3 Imported by: 1

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 Client

func Client() bool

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 PublicHub

func PublicHub() bool

func SetHubNetworks added in v0.3.1

func SetHubNetworks(v4, v6 bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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