mirror of
https://github.com/luscis/openlan.git
synced 2025-10-05 08:36:59 +08:00
13 lines
337 B
Go
13 lines
337 B
Go
package schema
|
|
|
|
type OnLine struct {
|
|
HitTime int64 `json:"aliveTime"`
|
|
UpTime int64 `json:"uptime"`
|
|
EthType uint16 `json:"ethType"`
|
|
IpSource string `json:"sourceAddr"`
|
|
IpDest string `json:"destAddr"`
|
|
IpProto string `json:"protocol"`
|
|
PortSource uint16 `json:"sourcePort"`
|
|
PortDest uint16 `json:"destPort"`
|
|
}
|