Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppName = "kl-iot-devices" IotServerEndpoint = "iotnet.dev.kloudlite.io" DnsDomain = "one.one.one.one" BroadcastIP = "255.255.255.255" BroadcastPort = 12345 BroadcastInterval = 4 ExpireDuration = 10 ProxyServerPort = 8000 PingInterval = 5 PingTimeout = 3 K3sConfigPath = "/home/raspberry/runner-config.yml" K3sDataPath = "/var/lib/rancher/k3s/server/db/" K3sJobFile = "/tmp/kloudlite-k3s-job.yml" )
Variables ¶
View Source
var (
Debug = "false"
)
View Source
var DefaultExposedDomains = []string{IotServerEndpoint, DnsDomain, "github.com", "kloudlite.github.io"}
View Source
var DefaultExposedIps = []string{}
Functions ¶
func GetHealthyUrl ¶
func GetHealthyUrl() string
func GetIotServerEndpoint ¶
func GetIotServerEndpoint() string
func GetPingUrl ¶
func GetPingUrl() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.