feat: cmd命令封装

This commit is contained in:
TsMask
2023-09-13 15:37:07 +08:00
parent 7f31f1ad6d
commit 60764ebcc2
4 changed files with 282 additions and 36 deletions

View File

@@ -1,6 +1,9 @@
package model
type Firewall struct {
ID int64 `json:"id" xorm:"id"`
CreatedAt int64 `json:"createdAt" xorm:"created_at"`
UpdatedAt int64 `json:"updatedAt" xorm:"updated_at"`
Type string `json:"type" xorm:"type"`
Port string `json:"port" xorm:"port"`
Protocol string `json:"protocol" xorm:"protocol"`