Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Provider types OtherType = iota MinerType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discovered ¶
Discovered holds information about a provider that is discovered
type Discoverer ¶
type Discoverer interface {
Discover(ctx context.Context, peerID peer.ID, discoveryAddr string) (*Discovered, error)
}
Discoverer is the interface that supplies functionality to discover providers
Click to show internal directories.
Click to hide internal directories.