MCPcopy Index your code
hub / github.com/github/github-mcp-server / BaseRESTURL

Method BaseRESTURL

pkg/utils/api.go:13–13  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

11
12type APIHostResolver interface {
13 BaseRESTURL(ctx context.Context) (*url.URL, error)
14 GraphqlURL(ctx context.Context) (*url.URL, error)
15 UploadURL(ctx context.Context) (*url.URL, error)
16 RawURL(ctx context.Context) (*url.URL, error)

Callers 5

FetchTokenScopesMethod · 0.65
GetClientMethod · 0.65
createGitHubClientsFunction · 0.65

Implementers 2

APIHostpkg/utils/api.go
testAPIHostResolverpkg/scopes/fetcher_test.go

Calls

no outgoing calls

Tested by 2