mirror of
https://github.com/h44z/wg-portal.git
synced 2025-04-19 08:55:12 +00:00
remove unsupported validator (#360)
This commit is contained in:
parent
3774257abb
commit
c33eaba1c0
@ -69,7 +69,7 @@ type Peer struct {
|
|||||||
// PresharedKey is the optional pre-shared Key of the peer.
|
// PresharedKey is the optional pre-shared Key of the peer.
|
||||||
PresharedKey string `json:"PresharedKey" example:"yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk=" binding:"omitempty,len=44"`
|
PresharedKey string `json:"PresharedKey" example:"yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk=" binding:"omitempty,len=44"`
|
||||||
// PersistentKeepalive is the optional persistent keep-alive interval in seconds.
|
// PersistentKeepalive is the optional persistent keep-alive interval in seconds.
|
||||||
PersistentKeepalive ConfigOption[int] `json:"PersistentKeepalive" binding:"omitempty,gte=0"`
|
PersistentKeepalive ConfigOption[int] `json:"PersistentKeepalive"`
|
||||||
|
|
||||||
// PrivateKey is the private Key of the peer.
|
// PrivateKey is the private Key of the peer.
|
||||||
PrivateKey string `json:"PrivateKey" example:"yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk=" binding:"required,len=44"`
|
PrivateKey string `json:"PrivateKey" example:"yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk=" binding:"required,len=44"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user