Class Peer (0.1.9)

Peer(mapping=None, *, ignore_unknown_fields=False, **kwargs)

This message defines attributes for a node that handles a network request. The node can be either a service or an application that sends, forwards, or receives the request. Service peers should fill in principal and labels as appropriate.

Attributes

Name Description
ip str
The IPv4 or IPv6 address of the peer.
port int
The network port of the peer.