mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
Remove ID from Rule
This commit is contained in:
parent
3a7e9f9af0
commit
d3ad3ff051
1 changed files with 0 additions and 1 deletions
|
@ -3,7 +3,6 @@ package firewall
|
|||
import "encoding/json"
|
||||
|
||||
type Rule struct {
|
||||
ID uint64 `json:"id" validate:"required,gt=0"`
|
||||
Name string `json:"name" validate:"required"`
|
||||
Match Match `json:"match" validate:"required,dive"`
|
||||
Comment string `json:"comment,omitempty"`
|
||||
|
|
Loading…
Add table
Reference in a new issue