internal/proxy: add package

Package proxy provides a client for fetching data from the Go module
proxy.

This is copied from x/pkgsite with modifications to remove the
dependency on the x/pkgsite/internal/testing/sample package.

Change-Id: I7fa17331f70e746aa2020fe27837d14af1483689
Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/463621
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
32 files changed
tree: 7d1d762a5fef51add94bbb2a6e054242692e0334
  1. cmd/
  2. devtools/
  3. internal/
  4. all_test.go
  5. checks.bash
  6. CONTRIBUTING.md
  7. go.mod
  8. go.sum
  9. LICENSE
  10. PATENTS
  11. README.md
  12. tools_test.go
README.md

pkgsite-metrics

This repository contains code that serves pkg.go.dev/metrics.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.