{"modulePath":"github.com/trusch/buildkit","version":"v0.0.0-20171220053733-ab06b2682ba3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package httpserver\n\n## Types\n\n```go\ntype Response struct {\n\tContent      []byte\n\tEtag         string\n\tLastModified *time.Time\n}\n```\n\n```go\ntype Stat struct {\n\tAllRequests, CachedRequests int\n}\n```\n\n```go\ntype TestServer struct {\n\t*httptest.Server\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewTestServer(routes map[string]Response) *TestServer\n```\n\n```go\nfunc (s *TestServer) ServeHTTP(w http.ResponseWriter, r *http.Request)\n```\n\n```go\nfunc (s *TestServer) SetRoute(name string, resp Response)\n```\n\n```go\nfunc (s *TestServer) Stats(name string) (st Stat)\n```\n\n","path":"github.com/trusch/buildkit/util/testutil/httpserver","name":"httpserver","synopsis":"","isRedistributable":true}
