package
0.0.0-20240224203855-c8586946c6ee
Repository: https://github.com/shurcool/home.git
Documentation: pkg.go.dev

# Packages

Package httpclient contains code.Service implementation over HTTP.
Package httphandler contains an API handler for code.Service.
Package httproute contains route paths for httpclient, httphandler.

# Functions

NewGitHandler creates a gitHandler.
NewService discovers Go code inside the repository store at reposDir, and returns a code service that uses said repository store.
WriteModuleZip builds a zip archive for module version m by including all files from repository r at commit id, and writes the result to w.

# Structs

Directory represents a directory inside a repository store.
ModuleHandler is a Go module server that implements the module proxy protocol, as specified at https://golang.org/cmd/go/#hdr-Module_proxy_protocol.
Package represents a Go package inside a repository store.
Service is a Go code service implementation backed by a repository store.