Skip to content

Commit 4fde673

Browse files
committed
change Resolution to ResolutionSummary for Flow
1 parent bef1ca1 commit 4fde673

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

api.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,17 +1021,17 @@ type TableData struct {
10211021
}
10221022

10231023
type Flow struct {
1024-
TimeBegin uint64 `json:"timeBegin"`
1025-
TimeEnd uint64 `json:"timeEnd"`
1026-
Proto string `json:"proto"`
1027-
LocalPeer string `json:"localPeer"`
1028-
RemotePeer string `json:"remotePeer"`
1029-
PacketsSent uint64 `json:"packetsSent"`
1030-
PacketsReceived uint64 `json:"packetsReceived"`
1031-
BytesSent uint64 `json:"bytesSent"`
1032-
BytesReceived uint64 `json:"bytesReceived"`
1033-
ResolvedLocal *Resolution `json:"resolvedLocal"`
1034-
ResolvedRemote *Resolution `json:"resolvedRemote"`
1024+
TimeBegin uint64 `json:"timeBegin"`
1025+
TimeEnd uint64 `json:"timeEnd"`
1026+
Proto string `json:"proto"`
1027+
LocalPeer string `json:"localPeer"`
1028+
RemotePeer string `json:"remotePeer"`
1029+
PacketsSent uint64 `json:"packetsSent"`
1030+
PacketsReceived uint64 `json:"packetsReceived"`
1031+
BytesSent uint64 `json:"bytesSent"`
1032+
BytesReceived uint64 `json:"bytesReceived"`
1033+
ResolvedLocal *ResolutionSummary `json:"resolvedLocal"`
1034+
ResolvedRemote *ResolutionSummary `json:"resolvedRemote"`
10351035
}
10361036

10371037
type TcpReaderDataMsg interface {

0 commit comments

Comments
 (0)