Documentation
¶
Index ¶
Constants ¶
View Source
const (
ConnectionStatus = "ConnectionStatus"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionState ¶
type ConnectionState int
const ( Ongoing ConnectionState = iota Complete Denied PeerDenied )
type ConnectionStatusAttr ¶
type ConnectionStatusAttr struct {
ConnectionID string // Unique ID to track a connection from start to end within the gateway
SrcService string // Source application/service initiating the connection
DstService string // Destination application/service receiving the connection
IncomingBytes int
OutgoingBytes int
DestinationPeer string // The peer(gateway) where the destination/source service is located depending on the Direction
StartTstamp time.Time
LastTstamp time.Time
Direction Direction // Incoming/Outgoing
State ConnectionState
}
Click to show internal directories.
Click to hide internal directories.