mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
493 B
20 lines
493 B
package client
|
|
|
|
type FireInfo struct {
|
|
Family string `json:"family"` // ipv4 ipv6
|
|
Address string `json:"address"` // Anywhere
|
|
Port string `json:"port"`
|
|
Protocol string `json:"protocol"` // tcp udp tcp/udp
|
|
Strategy string `json:"strategy"` // accept drop
|
|
|
|
APPName string `json:"appName"`
|
|
IsUsed bool `json:"isUsed"`
|
|
}
|
|
|
|
type Forward struct {
|
|
Protocol string `json:"protocol"`
|
|
Address string `json:"address"`
|
|
Port string `json:"port"`
|
|
Target string `json:"target"`
|
|
}
|