Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPeerProvider ¶
func RegisterPeerProvider(scheme string, pp PeerProvider)
RegisterPeerProvider registers a peer provider for a resolver protocol
Types ¶
type PeerProvider ¶
PeerProvider provides a list of peers for a given peer provider URL. Implementations are expected to define the behavior for the URL name space and return strings suitable for passing to `--peer` for whatever protocol the name specifies.
Click to show internal directories.
Click to hide internal directories.