Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func New ¶
New starts a registry instance that serves modules found inside the _registry path inside ar. The protocol that it serves is that of the Go proxy, documented here: https://go.dev/ref/mod#goproxy-protocol
Each module should be inside a directory named path_vers, where slashes in path have been replaced with underscores and should contain a cue.mod/module.cue file holding the module info.
The Registry should be closed after use.
Click to show internal directories.
Click to hide internal directories.