clientdiscovery

package
v0.0.0-...-2e264db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL