mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 22:55:06 +03:00
changed NetworkDomain.Prefix format from []byte to string for more conveniant input
This commit is contained in:
parent
f84f0a5f19
commit
3e72a57ec5
9 changed files with 34 additions and 27 deletions
|
@ -43,15 +43,15 @@ type NodeConfig struct {
|
|||
}
|
||||
|
||||
type MulticastInterfaceConfig struct {
|
||||
Regex string
|
||||
Beacon bool
|
||||
Listen bool
|
||||
Port uint16
|
||||
Regex string
|
||||
Beacon bool
|
||||
Listen bool
|
||||
Port uint16
|
||||
Priority uint64 // really uint8, but gobind won't export it
|
||||
}
|
||||
|
||||
type NetworkDomainConfig struct {
|
||||
Prefix [1]byte
|
||||
Prefix string
|
||||
}
|
||||
|
||||
// NewSigningKeys replaces the signing keypair in the NodeConfig with a new
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue