mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
feat: disable nat
This commit is contained in:
1 parent
dba7a5a3d6
commit
22d7a88318
5 files changed
+12
-1
No files matched your search
@@ -2,6 +2,7 @@ package model
|
||||
|
||||
type NAT struct {
|
||||
Common
|
||||
Enabled bool `json:"enabled"`
|
||||
Name string `json:"name"`
|
||||
ServerID uint64 `json:"server_id"`
|
||||
Host string `json:"host"`
|
||||
|
||||
@@ -2,6 +2,7 @@ package model
|
||||
|
||||
type NATForm struct {
|
||||
Name string `json:"name,omitempty" minLength:"1"`
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
ServerID uint64 `json:"server_id,omitempty"`
|
||||
Host string `json:"host,omitempty"`
|
||||
Domain string `json:"domain,omitempty"`
|
||||
|
||||
Reference in new issue
Block a user