identity.mx raw
1 package config
2
3 // IdentityCfg groups relay identity and discovery settings.
4 type IdentityCfg struct {
5 RelayURL string
6 RelayAddresses []string
7 RelayPeers []string
8 ClientTag string
9 NegentropyEnabled bool
10 NegentropyFullSyncPubs string
11 BootstrapRelays []string
12 SpiderMode string
13 DirectorySpider bool
14 DirectorySpiderIntSec int
15 DirectorySpiderMaxHops int
16 CrawlerEnabled bool
17 CrawlerDiscoveryIntSec int
18 CrawlerSyncIntSec int
19 CrawlerMaxHops int
20 CrawlerConcurrency int
21 SyncPubkey string // hex pubkey whose follows drive outbox-model sync
22 ProxyEnabled bool
23 ProxyMaxRelays int
24 ProxyTimeoutSec int
25 ArchiveEnabled bool
26 ArchiveRelays []string
27 ArchiveTimeoutSec int
28 ArchiveCacheTTLHrs int
29 TLSDomains []string
30 Certs []string
31 TorEnabled bool
32 TorPort int
33 TorDataDir string
34 TorBinary string
35 TorSOCKS int
36 NRCEnabled bool
37 NRCRendezvousURL string
38 NRCAuthorizedKeys string
39 NRCSessionTimeSec int
40 WGEnabled bool
41 WGPort int
42 WGEndpoint string
43 WGNetwork string
44 ClusterAdmins []string
45 RelayGroupAdmins []string
46 ClusterPropPrivileged bool
47 }
48