proxydir

package
v0.0.0-...-076a18f Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package proxydir 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>".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToURL

func ToURL(dir string) string

ToURL returns the file uri for a proxy directory.

func WriteModuleVersion

func WriteModuleVersion(rootDir, module, ver string, files map[string][]byte) (rerr error)

WriteModuleVersion creates a directory in the proxy dir for a module.

Types

This section is empty.

Jump to

Keyboard shortcuts

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