github.com/goplus/igop@v0.17.0/pkg/net/http/httptrace/go118_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.18 && !go1.19
     4  // +build go1.18,!go1.19
     5  
     6  package httptrace
     7  
     8  import (
     9  	q "net/http/httptrace"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "httptrace",
    19  		Path: "net/http/httptrace",
    20  		Deps: map[string]string{
    21  			"context":           "context",
    22  			"crypto/tls":        "tls",
    23  			"internal/nettrace": "nettrace",
    24  			"net":               "net",
    25  			"net/textproto":     "textproto",
    26  			"reflect":           "reflect",
    27  			"time":              "time",
    28  		},
    29  		Interfaces: map[string]reflect.Type{},
    30  		NamedTypes: map[string]reflect.Type{
    31  			"ClientTrace":      reflect.TypeOf((*q.ClientTrace)(nil)).Elem(),
    32  			"DNSDoneInfo":      reflect.TypeOf((*q.DNSDoneInfo)(nil)).Elem(),
    33  			"DNSStartInfo":     reflect.TypeOf((*q.DNSStartInfo)(nil)).Elem(),
    34  			"GotConnInfo":      reflect.TypeOf((*q.GotConnInfo)(nil)).Elem(),
    35  			"WroteRequestInfo": reflect.TypeOf((*q.WroteRequestInfo)(nil)).Elem(),
    36  		},
    37  		AliasTypes: map[string]reflect.Type{},
    38  		Vars:       map[string]reflect.Value{},
    39  		Funcs: map[string]reflect.Value{
    40  			"ContextClientTrace": reflect.ValueOf(q.ContextClientTrace),
    41  			"WithClientTrace":    reflect.ValueOf(q.WithClientTrace),
    42  		},
    43  		TypedConsts:   map[string]igop.TypedConst{},
    44  		UntypedConsts: map[string]igop.UntypedConst{},
    45  	})
    46  }