* feat: support go1.11 and go 1.12. * chore: generate. * fix: build constraint. * exclude importer.For * generate go 1.11
36 lines
1.5 KiB
Go
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)),
|
|
}
|
|
}
|