mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
feat: disable nat
This commit is contained in:
@@ -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