mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/1Panel-dev/1Panel.git
synced 2026-09-21 00:24:12 +08:00
* refactor(firewall): rebuild rule management foundation * refactor(firewall): streamline rule checks and inventory * feat(firewall): improve native rule inventory * refactor(firewall): refine rule management * feat: add Docker port guard * feat(firewall): support native nftables * feat(firewall): add configurable firewall selection * feat(firewall): support nftables docker port guard * refactor(firewall): complete v2 rule management and migration * refactor(firewall): align state and API contracts * refactor(firewall): unify rule management operations * feat: refine firewall v2 rules and forwarding * fix(firewall): harden dual-stack rule management * refactor(firewall): consolidate rule validation and persistence
18 lines
356 B
Go
18 lines
356 B
Go
package dto
|
|
|
|
type PageResult struct {
|
|
Total int64 `json:"total"`
|
|
Items interface{} `json:"items"`
|
|
}
|
|
|
|
type Response struct {
|
|
Code int `json:"code"`
|
|
ErrorCode string `json:"errorCode,omitempty"`
|
|
Message string `json:"message"`
|
|
Data interface{} `json:"data"`
|
|
}
|
|
|
|
type Options struct {
|
|
Option string `json:"option"`
|
|
}
|