mirror of
https://github.com/luscis/openlan.git
synced 2025-12-24 11:10:54 +08:00
19 lines
615 B
Go
19 lines
615 B
Go
package schema
|
|
|
|
type Output struct {
|
|
Network string `json:"network"`
|
|
Protocol string `json:"protocol"`
|
|
Remote string `json:"remote"`
|
|
DstPort int `json:"dstPort,omitempty"`
|
|
Segment int `json:"segment,omitempty"`
|
|
Secret string `json:"secret,omitempty"`
|
|
Crypt string `json:"crypt,omitempty"`
|
|
Device string `json:"device"`
|
|
RxBytes uint64 `json:"rxBytes,omitempty"`
|
|
TxBytes uint64 `json:"txBytes,omitempty"`
|
|
ErrPkt uint64 `json:"errors,omitempty"`
|
|
AliveTime int64 `json:"aliveTime"`
|
|
Fallback string `json:"fallback,omitempty"`
|
|
State string `json:"state,omitempty"`
|
|
}
|