mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-07-23 10:42:50 +02:00
14 lines
464 B
Go
14 lines
464 B
Go
package zerotier
|
|
|
|
// Root nodes are long-lived nodes at stable physical addresses that can help locate other nodes.
|
|
type Root struct {
|
|
// Identity is this root's address and public key(s).
|
|
Identity Identity
|
|
|
|
// Locator describes the endpoints where this root may be found.
|
|
Locator Locator
|
|
|
|
// URL is an optional URL where the latest Locator may be fetched.
|
|
// This is one method of locator update, while in-band mechanisms are the other.
|
|
URL string
|
|
}
|