proxy

package
v0.0.0-...-5e7a336 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteProxy

func WriteProxy(tmpdir string, files map[string][]byte) (string, error)

WriteProxy creates a new proxy file tree using the provided content, and returns its URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL