Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowedModule ¶
type AllowedModule struct { // Exactly one of Path and PathPattern are set Path goproxy.ModulePath PathPattern string // if set, is a valid path.Pattern Version goproxy.ModuleVersion // if not set, all versions are allowed }
func ReadAllowedModules ¶
func ReadAllowedModules(r io.Reader) ([]AllowedModule, error)
type Server ¶
type Server struct { UpstreamProxy *url.URL AllowedModules []AllowedModule }
func (*Server) HTTPHandler ¶
Directories ¶
Path | Synopsis |
---|---|
Package diff computes differences between text files or strings.
|
Package diff computes differences between text files or strings. |
lcs
package lcs contains code to find longest-common-subsequences (and diffs)
|
package lcs contains code to find longest-common-subsequences (and diffs) |
myers
Package myers implements the Myers diff algorithm.
|
Package myers implements the Myers diff algorithm. |
Click to show internal directories.
Click to hide internal directories.