mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-12 04:43:22 +08:00
feat: add preshared key
This commit is contained in:
@@ -23,6 +23,7 @@ type Peer struct {
|
||||
IP string `yaml:"IP"`
|
||||
SubNet string `yaml:"SubNet"`
|
||||
PublicKey string `yaml:"PublicKey"`
|
||||
PresharedKey string `yaml:"PresharedKey"`
|
||||
EndPoint string `yaml:"EndPoint"`
|
||||
AllowedIPs []string `yaml:"AllowedIPs"`
|
||||
KeepAliveSeconds int64 `yaml:"KeepAliveSeconds"`
|
||||
|
||||
Reference in New Issue
Block a user