package proxy
import "golang.org/x/telemetry/internal/proxy"
Package proxy provides functions for writing module data to a directory in proxy format, so that it can be used as a module proxy by setting GOPROXY="file://<dir>". This is copied from golang.org/x/tools/gopls/internal/{proxydir,proxy}.
Index ¶
Functions ¶
func WriteProxy ¶
WriteProxy creates a new proxy file tree using the provided content, and returns its URL.
Source Files ¶
proxy.go
- Version
- v0.0.0-20250221144447-d58820209c11 (latest)
- Published
- Feb 21, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 1 month ago –
Tools for package owners.