commit | bd9ab2f67d4957d71e27cfb50152a80d30314a43 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Thu Apr 25 19:37:40 2019 -0400 |
committer | Russ Cox <rsc@golang.org> | Fri Apr 26 19:03:04 2019 +0000 |
tree | b06bfa4ae7170837573a8696b6b9ea9c475ccc2e | |
parent | 199475d7670412915858f3e210cac7a63eb9a4b9 [diff] |
sumdb/internal/sumweb: add test server implementation This CL adds a TestServer, which is useful for tests that need a working HTTP sumdb server. It takes care of serving records, tiles, signed hashes, and so on, given only a key and a function to fetch new go.sum entries. Change-Id: I137e0ca570e5110bccf3ea84b9bd8ffbb5d280be Reviewed-on: https://go-review.googlesource.com/c/exp/+/173944 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.