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