# Functions
BuildGetPeersConfig builds GetPeersConfig struct from a list of options.
NewManager initializes a new Manager instance.
WithOnlyConnectedPeers returns a GetPeersOption that sets OnlyConnected field to true.
# Constants
ConnDirectionInbound means that the local peer accepts for the connection in the gossip layer.
ConnDirectionOutbound means that the local peer dials for the connection in the gossip layer.
ConnStatusConnected means that there is a real connection established in the gossip layer for that peer.
ConnStatusDisconnected means that there is no real connection established in the gossip layer for that peer.
# Structs
GetPeersConfig holds optional parameters for the GetPeers method.
KnownPeer defines a peer record in the manual peering layer.
KnownPeerToAdd defines a type that is used in .AddPeer() method.
Manager is the core entity in the manual peering package.
# Type aliases
ConnectionDirection is an enum for the type of connection between local peer and the other peer in the gossip layer.
ConnectionStatus is an enum for the peer connection status in the gossip layer.
GetPeersOption defines a single option for GetPeers method.