github.com/goplus/gossa@v0.3.25/pkg/net/http/httputil/go115_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package httputil 6 7 import ( 8 q "net/http/httputil" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.Package{ 17 Name: "httputil", 18 Path: "net/http/httputil", 19 Deps: map[string]string{ 20 "bufio": "bufio", 21 "bytes": "bytes", 22 "context": "context", 23 "errors": "errors", 24 "fmt": "fmt", 25 "io": "io", 26 "io/ioutil": "ioutil", 27 "log": "log", 28 "net": "net", 29 "net/http": "http", 30 "net/http/internal": "internal", 31 "net/textproto": "textproto", 32 "net/url": "url", 33 "strings": "strings", 34 "sync": "sync", 35 "time": "time", 36 "vendor/golang.org/x/net/http/httpguts": "httpguts", 37 }, 38 Interfaces: map[string]reflect.Type{ 39 "BufferPool": reflect.TypeOf((*q.BufferPool)(nil)).Elem(), 40 }, 41 NamedTypes: map[string]gossa.NamedType{ 42 "ClientConn": {reflect.TypeOf((*q.ClientConn)(nil)).Elem(), "", "Close,Do,Hijack,Pending,Read,Write"}, 43 "ReverseProxy": {reflect.TypeOf((*q.ReverseProxy)(nil)).Elem(), "", "ServeHTTP,copyBuffer,copyResponse,defaultErrorHandler,flushInterval,getErrorHandler,handleUpgradeResponse,logf,modifyResponse"}, 44 "ServerConn": {reflect.TypeOf((*q.ServerConn)(nil)).Elem(), "", "Close,Hijack,Pending,Read,Write"}, 45 }, 46 AliasTypes: map[string]reflect.Type{}, 47 Vars: map[string]reflect.Value{ 48 "ErrClosed": reflect.ValueOf(&q.ErrClosed), 49 "ErrLineTooLong": reflect.ValueOf(&q.ErrLineTooLong), 50 "ErrPersistEOF": reflect.ValueOf(&q.ErrPersistEOF), 51 "ErrPipeline": reflect.ValueOf(&q.ErrPipeline), 52 }, 53 Funcs: map[string]reflect.Value{ 54 "DumpRequest": reflect.ValueOf(q.DumpRequest), 55 "DumpRequestOut": reflect.ValueOf(q.DumpRequestOut), 56 "DumpResponse": reflect.ValueOf(q.DumpResponse), 57 "NewChunkedReader": reflect.ValueOf(q.NewChunkedReader), 58 "NewChunkedWriter": reflect.ValueOf(q.NewChunkedWriter), 59 "NewClientConn": reflect.ValueOf(q.NewClientConn), 60 "NewProxyClientConn": reflect.ValueOf(q.NewProxyClientConn), 61 "NewServerConn": reflect.ValueOf(q.NewServerConn), 62 "NewSingleHostReverseProxy": reflect.ValueOf(q.NewSingleHostReverseProxy), 63 }, 64 TypedConsts: map[string]gossa.TypedConst{}, 65 UntypedConsts: map[string]gossa.UntypedConst{}, 66 }) 67 }