MCPcopy Create free account
hub / github.com/compozy/agh / Client

Struct Client

internal/registry/github/client.go:49–59  ·  view source on GitHub ↗

Client implements the GitHub Releases registry source.

Source from the content-addressed store, hash-verified

47
48// Client implements the GitHub Releases registry source.
49type Client struct {
50 baseURL string
51 httpClient *http.Client
52 sleep func(context.Context, time.Duration) error
53 initialBackoff time.Duration
54 maxBackoff time.Duration
55 maxRetries int
56 logger *slog.Logger
57 token string
58 closeOnce sync.Once
59}
60
61type repoSlug struct {
62 owner string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected