{"modulePath":"github.com/bodgit/gorouter","version":"v0.0.0-20140725001424-64d2d54ca558","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package http\n\n## Constants\n\n```go\nconst (\n\tVcapBackendHeader     = \"X-Vcap-Backend\"\n\tCfRouteEndpointHeader = \"X-Cf-RouteEndpoint\"\n\tVcapRouterHeader      = \"X-Vcap-Router\"\n\tVcapRequestIdHeader   = \"X-Vcap-Request-Id\"\n\tVcapTraceHeader       = \"X-Vcap-Trace\"\n\tCfInstanceIdHeader    = \"X-CF-InstanceID\"\n)\n```\n\n## Types\n\n```go\ntype Authenticator func(user, password string) bool\n```\n\n```go\ntype BasicAuth struct {\n\thttp.Handler\n\tAuthenticator\n}\n```\n\n```go\nfunc (x *BasicAuth) ServeHTTP(w http.ResponseWriter, req *http.Request)\n```\n\n","path":"github.com/bodgit/gorouter/common/http","name":"http","synopsis":"","isRedistributable":true}
