mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 05:13:58 -07:00
Gogogogogogogo
This commit is contained in:
parent
b44bd19c53
commit
b6175bd408
12 changed files with 583 additions and 150 deletions
|
@ -13,13 +13,14 @@
|
|||
|
||||
package zerotier
|
||||
|
||||
import "net"
|
||||
|
||||
// Root describes a root server used to find and establish communication with other nodes.
|
||||
type Root struct {
|
||||
DNSName string
|
||||
Identity *Identity
|
||||
Addresses []net.Addr
|
||||
Addresses []InetAddress
|
||||
Preferred bool
|
||||
Online bool
|
||||
}
|
||||
|
||||
// Static returns true if this is a static root
|
||||
func (r *Root) Static() bool { return len(r.DNSName) == 0 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue