Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupDeviceFetcher ¶
func SetupDeviceFetcher( writeDevices chan WriteDevicesOp, ts *tsapi.TSApi, duration time.Duration, )
Fetch the devices on a regular basis
func SetupDnsServer ¶
func SetupDnsServer(tsServer *tsnet.Server, readDevices chan ReadDevicesOp, host string)
Run the DNS server
Types ¶
type DnsHandler ¶
type DnsHandler func(dns.ResponseWriter, *dns.Msg)
type ReadDevicesOp ¶
type ReadDevicesOp struct {
Response chan DeviceMap
}
type WriteDevicesOp ¶
Click to show internal directories.
Click to hide internal directories.