mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-06-17 06:35:07 +03:00
Update config.go
Add 'Secrets' configuration for secondary encryption.
This commit is contained in:
parent
42d4298e19
commit
704e98442a
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ type NodeConfig struct {
|
|||
IfMTU uint64 `comment:"Maximum Transmission Unit (MTU) size for your local TUN interface.\nDefault is the largest supported size for your platform. The lowest\npossible value is 1280."`
|
||||
NodeInfoPrivacy bool `comment:"By default, nodeinfo contains some defaults including the platform,\narchitecture and Yggdrasil version. These can help when surveying\nthe network and diagnosing network routing problems. Enabling\nnodeinfo privacy prevents this, so that only items specified in\n\"NodeInfo\" are sent back if specified."`
|
||||
NodeInfo map[string]interface{} `comment:"Optional node info. This must be a { \"key\": \"value\", ... } map\nor set as null. This is entirely optional but, if set, is visible\nto the whole network on request."`
|
||||
Secrets map[string]string `comment:"Optional passwords for specified public keys. Used in secondary layer of encryption"`
|
||||
}
|
||||
|
||||
type MulticastInterfaceConfig struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue