shared

package
v3.10.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultGatewayServerConfig = gatewayserver.Config{
	RequireRegisteredGateways:         false,
	UpdateGatewayLocationDebounceTime: time.Hour,
	Forward: map[string][]string{
		"": {"00000000/0"},
	},
	UDP: gatewayserver.UDPConfig{
		Config: udp.DefaultConfig,
		Listeners: map[string]string{
			":1700": "",
		},
	},
	MQTTV2: config.MQTT{
		Listen:           ":1881",
		ListenTLS:        ":8881",
		PublicAddress:    fmt.Sprintf("%s:1881", shared.DefaultPublicHost),
		PublicTLSAddress: fmt.Sprintf("%s:8881", shared.DefaultPublicHost),
	},
	MQTT: config.MQTT{
		Listen:           ":1882",
		ListenTLS:        ":8882",
		PublicAddress:    fmt.Sprintf("%s:1882", shared.DefaultPublicHost),
		PublicTLSAddress: fmt.Sprintf("%s:8882", shared.DefaultPublicHost),
	},
	UpdateConnectionStatsDebounceTime: 3 * time.Second,
	BasicStation: gatewayserver.BasicStationConfig{
		Config:    ws.DefaultConfig,
		Listen:    ":1887",
		ListenTLS: ":8887",
	},
}

DefaultGatewayServerConfig is the default configuration for the GatewayServer.

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