shared

package
v0.0.0-...-60b8695 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 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),
	},
	BasicStation: gatewayserver.BasicStationConfig{
		Config:                 ws.DefaultConfig,
		MaxValidRoundTripDelay: 10 * time.Second,
		Listen:                 ":1887",
		ListenTLS:              ":8887",
	},
	UpdateConnectionStatsDebounceTime: 3 * 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