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