Documentation ¶
Overview ¶
Package vcstest serves the repository scripts in cmd/go/testdata/vcstest using the vcweb script engine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Hosts = []string{
"vcs-test.golang.org",
}
Functions ¶
Types ¶
type Server ¶
type Server struct { HTTP *httptest.Server HTTPS *httptest.Server // contains filtered or unexported fields }
func NewServer ¶
NewServer returns a new test-local vcweb server that serves VCS requests for modules with paths that begin with "vcs-test.golang.org" using the scripts in cmd/go/testdata/vcstest.
func (*Server) WriteCertificateFile ¶
Click to show internal directories.
Click to hide internal directories.