Documentation
¶
Overview ¶
Package clientdiscovery fetches metadata (latest versions, repositories, etc.) about known Ethereum clients from GitHub. It is intentionally kept separate from pkg/discovery so that consumers of the discovery data model do not have to compile the GitHub client and its dependencies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discoverer ¶
type Discoverer struct {
// contains filtered or unexported fields
}
Discoverer handles fetching information about Ethereum clients from GitHub.
func New ¶
func New(log *logrus.Logger, token string) *Discoverer
New creates a new client Discoverer. If token is empty, an unauthenticated GitHub client is used (subject to stricter rate limits).
func (*Discoverer) DiscoverClients ¶
func (d *Discoverer) DiscoverClients(ctx context.Context) (map[string]discovery.ClientInfo, error)
DiscoverClients fetches information about all known Ethereum clients.
Click to show internal directories.
Click to hide internal directories.