shared

package
v0.0.0-...-5352646 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 6 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{
		Listen:         ":1887",
		ListenTLS:      ":8887",
		WSPingInterval: 30 * time.Second,
	},
}

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