Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Single ¶
type Single struct {
// contains filtered or unexported fields
}
Single implements the peer.Chooser interface for a single peer
func New ¶
func New(pid peer.Identifier, transport peer.Transport) *Single
New creates a static peer.Chooser with a single Peer
func (*Single) NotifyStatusChanged ¶
func (s *Single) NotifyStatusChanged(peer.Identifier)
NotifyStatusChanged when the Peer status changes
Click to show internal directories.
Click to hide internal directories.