type golang.org/x/pkgsite/internal/proxy.Client

34 uses

	golang.org/x/pkgsite/internal/proxy (current package)
		client.go#L31: type Client struct {
		client.go#L61: func New(u string) (_ *Client, err error) {
		client.go#L63: 	return &Client{
		client.go#L73: func (c *Client) WithFetchDisabled() *Client {
		client.go#L80: func (c *Client) FetchDisabled() bool {
		client.go#L86: func (c *Client) WithZipCache() *Client {
		client.go#L99: func (c *Client) Info(ctx context.Context, modulePath, requestedVersion string) (_ *VersionInfo, err error) {
		client.go#L122: func (c *Client) Mod(ctx context.Context, modulePath, resolvedVersion string) (_ []byte, err error) {
		client.go#L132: func (c *Client) Zip(ctx context.Context, modulePath, resolvedVersion string) (_ *zip.Reader, err error) {
		client.go#L156: func (c *Client) ZipSize(ctx context.Context, modulePath, resolvedVersion string) (_ int64, err error) {
		client.go#L177: func (c *Client) escapedURL(modulePath, requestedVersion, suffix string) (_ string, err error) {
		client.go#L200: func (c *Client) readBody(ctx context.Context, modulePath, requestedVersion, suffix string) (_ []byte, err error) {
		client.go#L221: func (c *Client) Versions(ctx context.Context, modulePath string) (_ []string, err error) {
		client.go#L243: func (c *Client) executeRequest(ctx context.Context, u string, bodyFunc func(body io.Reader) error) (err error) {
		test_helper.go#L23: func SetupTestClient(t *testing.T, modules []*Module) (*Client, func()) {
		test_helper.go#L35: func NewClientForServer(s *Server) (*Client, func(), error) {

	golang.org/x/pkgsite/internal/fetch
		fetch.go#L119: func FetchModule(ctx context.Context, modulePath, requestedVersion string, proxyClient *proxy.Client, sourceClient *source.Client) (fr *FetchResult) {
		fetch.go#L150: func fetchModule(ctx context.Context, fr *FetchResult, proxyClient *proxy.Client, sourceClient *source.Client) (*FetchInfo, error) {
		fetch.go#L249: func GetInfo(ctx context.Context, modulePath, requestedVersion string, proxyClient *proxy.Client) (_ *proxy.VersionInfo, err error) {
		fetch.go#L261: func getZipSize(ctx context.Context, modulePath, resolvedVersion string, proxyClient *proxy.Client) (_ int64, err error) {
		fetch.go#L270: func getGoModPath(ctx context.Context, modulePath, resolvedVersion string, proxyClient *proxy.Client) (string, []byte, error) {
		latest.go#L47: func LatestModuleVersions(ctx context.Context, modulePath string, prox *proxy.Client, hasGoMod func(v string) (bool, error)) (info *internal.LatestModuleVersions, err error) {

	golang.org/x/pkgsite/internal/frontend
		fetch.go#L548: func FetchAndUpdateState(ctx context.Context, modulePath, requestedVersion string, proxyClient *proxy.Client, sourceClient *source.Client, db *postgres.DB) (_ int, err error) {

	golang.org/x/pkgsite/internal/proxydatasource
		datasource.go#L30: func New(proxyClient *proxy.Client) *DataSource {
		datasource.go#L34: func NewForTesting(proxyClient *proxy.Client) *DataSource {
		datasource.go#L38: func newDataSource(proxyClient *proxy.Client, sourceClient *source.Client) *DataSource {
		datasource.go#L52: func NewBypassingLicenseCheck(c *proxy.Client) *DataSource {
		datasource.go#L61: 	proxyClient  *proxy.Client

	golang.org/x/pkgsite/internal/worker
		fetch.go#L44: 	ProxyClient  *proxy.Client
		fetch.go#L308: func resolvedVersion(ctx context.Context, modulePath, requestedVersion string, proxyClient *proxy.Client) string {
		server.go#L45: 	proxyClient     *proxy.Client
		server.go#L61: 	ProxyClient      *proxy.Client