github.com/goplus/gossa@v0.3.25/pkg/net/http/fcgi/go115_export.go (about)

     1  // export by github.com/goplus/gossa/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package fcgi
     6  
     7  import (
     8  	q "net/http/fcgi"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/gossa"
    13  )
    14  
    15  func init() {
    16  	gossa.RegisterPackage(&gossa.Package{
    17  		Name: "fcgi",
    18  		Path: "net/http/fcgi",
    19  		Deps: map[string]string{
    20  			"bufio":           "bufio",
    21  			"bytes":           "bytes",
    22  			"context":         "context",
    23  			"encoding/binary": "binary",
    24  			"errors":          "errors",
    25  			"fmt":             "fmt",
    26  			"io":              "io",
    27  			"io/ioutil":       "ioutil",
    28  			"net":             "net",
    29  			"net/http":        "http",
    30  			"net/http/cgi":    "cgi",
    31  			"os":              "os",
    32  			"strings":         "strings",
    33  			"sync":            "sync",
    34  			"time":            "time",
    35  		},
    36  		Interfaces: map[string]reflect.Type{},
    37  		NamedTypes: map[string]gossa.NamedType{},
    38  		AliasTypes: map[string]reflect.Type{},
    39  		Vars: map[string]reflect.Value{
    40  			"ErrConnClosed":     reflect.ValueOf(&q.ErrConnClosed),
    41  			"ErrRequestAborted": reflect.ValueOf(&q.ErrRequestAborted),
    42  		},
    43  		Funcs: map[string]reflect.Value{
    44  			"ProcessEnv": reflect.ValueOf(q.ProcessEnv),
    45  			"Serve":      reflect.ValueOf(q.Serve),
    46  		},
    47  		TypedConsts:   map[string]gossa.TypedConst{},
    48  		UntypedConsts: map[string]gossa.UntypedConst{},
    49  	})
    50  }