2023-03-24 23:19:17 +08:00
|
|
|
package client
|
|
|
|
|
|
|
|
type FireInfo struct {
|
2023-03-27 19:02:36 +08:00
|
|
|
Family string `json:"family"` // ipv4 ipv6
|
|
|
|
Address string `json:"address"` // Anywhere
|
|
|
|
Port string `json:"port"`
|
2023-03-27 23:29:46 +08:00
|
|
|
Protocol string `json:"protocol"` // tcp udp tcp/udp
|
2023-03-27 19:02:36 +08:00
|
|
|
Strategy string `json:"strategy"` // accept drop
|
2023-04-01 00:51:25 +08:00
|
|
|
|
2023-09-21 18:02:21 +08:00
|
|
|
UsedStatus string `json:"usedStatus"`
|
2023-08-15 22:48:11 +08:00
|
|
|
Description string `json:"description"`
|
2023-03-24 23:19:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
type Forward struct {
|
2023-03-27 19:02:36 +08:00
|
|
|
Protocol string `json:"protocol"`
|
|
|
|
Address string `json:"address"`
|
|
|
|
Port string `json:"port"`
|
|
|
|
Target string `json:"target"`
|
2023-03-24 23:19:17 +08:00
|
|
|
}
|