{"modulePath":"github.com/pipeproxy/pipe","version":"v0.7.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package forward\n\n## Functions\n\n```go\nfunc NewForwardWithConfig(conf *Config) (http.Handler, error)\n```\nNewForwardWithConfig create a new forward with config.\n\n## Types\n\n```go\ntype Config struct {\n\tH2c    bool          `json:\",omitempty\"`\n\tDialer stream.Dialer `json:\",omitempty\"`\n\tURL    string\n}\n```\n\n```go\ntype Forward struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewForward(url string, dialer stream.Dialer, h2c bool) (*Forward, error)\n```\n\n```go\nfunc (h *Forward) ServeHTTP(rw http.ResponseWriter, r *http.Request)\n```\n\n","path":"github.com/pipeproxy/pipe/components/protocol/http/forward","name":"forward","synopsis":"","isRedistributable":true}
