Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Peer ¶
type Peer struct { // a unique id of the Peer (e.g. sha256 fingerprint of the Wireguard public key) Id string //a gRpc connection stream to the Peer Stream proto.SignalExchange_ConnectStreamServer }
Peer representation of a connected Peer
type Registry ¶
Registry registry that holds all currently connected Peers
func (*Registry) Deregister ¶
Deregister deregister Peer from the Registry (usually once it disconnects)
func (*Registry) IsPeerRegistered ¶
Click to show internal directories.
Click to hide internal directories.