package config // IdentityCfg groups relay identity and discovery settings. type IdentityCfg struct { RelayURL string RelayAddresses []string RelayPeers []string ClientTag string NegentropyEnabled bool NegentropyFullSyncPubs string BootstrapRelays []string SpiderMode string DirectorySpider bool DirectorySpiderIntSec int32 DirectorySpiderMaxHops int32 CrawlerEnabled bool CrawlerDiscoveryIntSec int32 CrawlerSyncIntSec int32 CrawlerMaxHops int32 CrawlerConcurrency int32 SyncPubkey string // hex pubkey whose follows drive outbox-model sync ProxyEnabled bool ProxyMaxRelays int32 ProxyTimeoutSec int32 ArchiveEnabled bool ArchiveRelays []string ArchiveTimeoutSec int32 ArchiveCacheTTLHrs int32 TLSDomains []string Certs []string TorEnabled bool TorPort int32 TorDataDir string TorBinary string TorSOCKS int32 NRCEnabled bool NRCRendezvousURL string NRCAuthorizedKeys string NRCSessionTimeSec int32 WGEnabled bool WGPort int32 WGEndpoint string WGNetwork string ClusterAdmins []string RelayGroupAdmins []string ClusterPropPrivileged bool }