Files
moxa/stdlib/go1_12_net_http_httputil.go
Ludovic Fernandez 7e07a183ed chore: support go1.11 and go 1.12. (#130)
* feat: support go1.11 and go 1.12.

* chore: generate.

* fix: build constraint.

* exclude importer.For

* generate go 1.11
2019-03-19 22:08:17 +01:00

36 lines
1.5 KiB
Go

// +build go1.12,!go1.13
package stdlib
// Code generated by 'goexports net/http/httputil'. DO NOT EDIT.
import (
"net/http/httputil"
"reflect"
)
func init() {
Value["net/http/httputil"] = map[string]reflect.Value{
// function, constant and variable definitions
"DumpRequest": reflect.ValueOf(httputil.DumpRequest),
"DumpRequestOut": reflect.ValueOf(httputil.DumpRequestOut),
"DumpResponse": reflect.ValueOf(httputil.DumpResponse),
"ErrClosed": reflect.ValueOf(&httputil.ErrClosed).Elem(),
"ErrLineTooLong": reflect.ValueOf(&httputil.ErrLineTooLong).Elem(),
"ErrPersistEOF": reflect.ValueOf(&httputil.ErrPersistEOF).Elem(),
"ErrPipeline": reflect.ValueOf(&httputil.ErrPipeline).Elem(),
"NewChunkedReader": reflect.ValueOf(httputil.NewChunkedReader),
"NewChunkedWriter": reflect.ValueOf(httputil.NewChunkedWriter),
"NewClientConn": reflect.ValueOf(httputil.NewClientConn),
"NewProxyClientConn": reflect.ValueOf(httputil.NewProxyClientConn),
"NewServerConn": reflect.ValueOf(httputil.NewServerConn),
"NewSingleHostReverseProxy": reflect.ValueOf(httputil.NewSingleHostReverseProxy),
// type definitions
"BufferPool": reflect.ValueOf((*httputil.BufferPool)(nil)),
"ClientConn": reflect.ValueOf((*httputil.ClientConn)(nil)),
"ReverseProxy": reflect.ValueOf((*httputil.ReverseProxy)(nil)),
"ServerConn": reflect.ValueOf((*httputil.ServerConn)(nil)),
}
}