forked from extern/smegmesh
IPv6 What 8 Words
what 8 words for ipv6 started
This commit is contained in:
@@ -18,11 +18,11 @@ type SmegMesh struct {
|
||||
}
|
||||
|
||||
type CreateMeshRequest struct {
|
||||
WgPort int `json:"port" binding:"gte=1024,lt=65535"`
|
||||
WgPort int `json:"port" binding:"omitempty,gte=1024,lt=65535"`
|
||||
}
|
||||
|
||||
type JoinMeshRequest struct {
|
||||
WgPort int `json:"port" binding:"gte=1024,lt=65535"`
|
||||
WgPort int `json:"port" binding:"omitempty,gte=1024,lt=65535"`
|
||||
Bootstrap string `json:"bootstrap" binding:"required"`
|
||||
MeshId string `json:"meshid" binding:"required"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user