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 int32
15 DirectorySpiderMaxHops int32
16 CrawlerEnabled bool
17 CrawlerDiscoveryIntSec int32
18 CrawlerSyncIntSec int32
19 CrawlerMaxHops int32
20 CrawlerConcurrency int32
21 SyncPubkey string // hex pubkey whose follows drive outbox-model sync
22 ProxyEnabled bool
23 ProxyMaxRelays int32
24 ProxyTimeoutSec int32
25 ArchiveEnabled bool
26 ArchiveRelays []string
27 ArchiveTimeoutSec int32
28 ArchiveCacheTTLHrs int32
29 TLSDomains []string
30 Certs []string
31 TorEnabled bool
32 TorPort int32
33 TorDataDir string
34 TorBinary string
35 TorSOCKS int32
36 NRCEnabled bool
37 NRCRendezvousURL string
38 NRCAuthorizedKeys string
39 NRCSessionTimeSec int32
40 WGEnabled bool
41 WGPort int32
42 WGEndpoint string
43 WGNetwork string
44 ClusterAdmins []string
45 RelayGroupAdmins []string
46 ClusterPropPrivileged bool
47 }
48