github.com/goplus/igop@v0.25.0/pkg/net/go115_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package net 6 7 import ( 8 q "net" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "net", 19 Path: "net", 20 Deps: map[string]string{ 21 "context": "context", 22 "errors": "errors", 23 "internal/bytealg": "bytealg", 24 "internal/nettrace": "nettrace", 25 "internal/poll": "poll", 26 "internal/singleflight": "singleflight", 27 "io": "io", 28 "math/rand": "rand", 29 "os": "os", 30 "runtime": "runtime", 31 "runtime/cgo": "cgo", 32 "sort": "sort", 33 "sync": "sync", 34 "sync/atomic": "atomic", 35 "syscall": "syscall", 36 "time": "time", 37 "unsafe": "unsafe", 38 "vendor/golang.org/x/net/dns/dnsmessage": "dnsmessage", 39 "vendor/golang.org/x/net/route": "route", 40 }, 41 Interfaces: map[string]reflect.Type{ 42 "Addr": reflect.TypeOf((*q.Addr)(nil)).Elem(), 43 "Conn": reflect.TypeOf((*q.Conn)(nil)).Elem(), 44 "Error": reflect.TypeOf((*q.Error)(nil)).Elem(), 45 "Listener": reflect.TypeOf((*q.Listener)(nil)).Elem(), 46 "PacketConn": reflect.TypeOf((*q.PacketConn)(nil)).Elem(), 47 }, 48 NamedTypes: map[string]reflect.Type{ 49 "AddrError": reflect.TypeOf((*q.AddrError)(nil)).Elem(), 50 "Buffers": reflect.TypeOf((*q.Buffers)(nil)).Elem(), 51 "DNSConfigError": reflect.TypeOf((*q.DNSConfigError)(nil)).Elem(), 52 "DNSError": reflect.TypeOf((*q.DNSError)(nil)).Elem(), 53 "Dialer": reflect.TypeOf((*q.Dialer)(nil)).Elem(), 54 "Flags": reflect.TypeOf((*q.Flags)(nil)).Elem(), 55 "HardwareAddr": reflect.TypeOf((*q.HardwareAddr)(nil)).Elem(), 56 "IP": reflect.TypeOf((*q.IP)(nil)).Elem(), 57 "IPAddr": reflect.TypeOf((*q.IPAddr)(nil)).Elem(), 58 "IPConn": reflect.TypeOf((*q.IPConn)(nil)).Elem(), 59 "IPMask": reflect.TypeOf((*q.IPMask)(nil)).Elem(), 60 "IPNet": reflect.TypeOf((*q.IPNet)(nil)).Elem(), 61 "Interface": reflect.TypeOf((*q.Interface)(nil)).Elem(), 62 "InvalidAddrError": reflect.TypeOf((*q.InvalidAddrError)(nil)).Elem(), 63 "ListenConfig": reflect.TypeOf((*q.ListenConfig)(nil)).Elem(), 64 "MX": reflect.TypeOf((*q.MX)(nil)).Elem(), 65 "NS": reflect.TypeOf((*q.NS)(nil)).Elem(), 66 "OpError": reflect.TypeOf((*q.OpError)(nil)).Elem(), 67 "ParseError": reflect.TypeOf((*q.ParseError)(nil)).Elem(), 68 "Resolver": reflect.TypeOf((*q.Resolver)(nil)).Elem(), 69 "SRV": reflect.TypeOf((*q.SRV)(nil)).Elem(), 70 "TCPAddr": reflect.TypeOf((*q.TCPAddr)(nil)).Elem(), 71 "TCPConn": reflect.TypeOf((*q.TCPConn)(nil)).Elem(), 72 "TCPListener": reflect.TypeOf((*q.TCPListener)(nil)).Elem(), 73 "UDPAddr": reflect.TypeOf((*q.UDPAddr)(nil)).Elem(), 74 "UDPConn": reflect.TypeOf((*q.UDPConn)(nil)).Elem(), 75 "UnixAddr": reflect.TypeOf((*q.UnixAddr)(nil)).Elem(), 76 "UnixConn": reflect.TypeOf((*q.UnixConn)(nil)).Elem(), 77 "UnixListener": reflect.TypeOf((*q.UnixListener)(nil)).Elem(), 78 "UnknownNetworkError": reflect.TypeOf((*q.UnknownNetworkError)(nil)).Elem(), 79 }, 80 AliasTypes: map[string]reflect.Type{}, 81 Vars: map[string]reflect.Value{ 82 "DefaultResolver": reflect.ValueOf(&q.DefaultResolver), 83 "ErrWriteToConnected": reflect.ValueOf(&q.ErrWriteToConnected), 84 "IPv4allrouter": reflect.ValueOf(&q.IPv4allrouter), 85 "IPv4allsys": reflect.ValueOf(&q.IPv4allsys), 86 "IPv4bcast": reflect.ValueOf(&q.IPv4bcast), 87 "IPv4zero": reflect.ValueOf(&q.IPv4zero), 88 "IPv6interfacelocalallnodes": reflect.ValueOf(&q.IPv6interfacelocalallnodes), 89 "IPv6linklocalallnodes": reflect.ValueOf(&q.IPv6linklocalallnodes), 90 "IPv6linklocalallrouters": reflect.ValueOf(&q.IPv6linklocalallrouters), 91 "IPv6loopback": reflect.ValueOf(&q.IPv6loopback), 92 "IPv6unspecified": reflect.ValueOf(&q.IPv6unspecified), 93 "IPv6zero": reflect.ValueOf(&q.IPv6zero), 94 }, 95 Funcs: map[string]reflect.Value{ 96 "CIDRMask": reflect.ValueOf(q.CIDRMask), 97 "Dial": reflect.ValueOf(q.Dial), 98 "DialIP": reflect.ValueOf(q.DialIP), 99 "DialTCP": reflect.ValueOf(q.DialTCP), 100 "DialTimeout": reflect.ValueOf(q.DialTimeout), 101 "DialUDP": reflect.ValueOf(q.DialUDP), 102 "DialUnix": reflect.ValueOf(q.DialUnix), 103 "FileConn": reflect.ValueOf(q.FileConn), 104 "FileListener": reflect.ValueOf(q.FileListener), 105 "FilePacketConn": reflect.ValueOf(q.FilePacketConn), 106 "IPv4": reflect.ValueOf(q.IPv4), 107 "IPv4Mask": reflect.ValueOf(q.IPv4Mask), 108 "InterfaceAddrs": reflect.ValueOf(q.InterfaceAddrs), 109 "InterfaceByIndex": reflect.ValueOf(q.InterfaceByIndex), 110 "InterfaceByName": reflect.ValueOf(q.InterfaceByName), 111 "Interfaces": reflect.ValueOf(q.Interfaces), 112 "JoinHostPort": reflect.ValueOf(q.JoinHostPort), 113 "Listen": reflect.ValueOf(q.Listen), 114 "ListenIP": reflect.ValueOf(q.ListenIP), 115 "ListenMulticastUDP": reflect.ValueOf(q.ListenMulticastUDP), 116 "ListenPacket": reflect.ValueOf(q.ListenPacket), 117 "ListenTCP": reflect.ValueOf(q.ListenTCP), 118 "ListenUDP": reflect.ValueOf(q.ListenUDP), 119 "ListenUnix": reflect.ValueOf(q.ListenUnix), 120 "ListenUnixgram": reflect.ValueOf(q.ListenUnixgram), 121 "LookupAddr": reflect.ValueOf(q.LookupAddr), 122 "LookupCNAME": reflect.ValueOf(q.LookupCNAME), 123 "LookupHost": reflect.ValueOf(q.LookupHost), 124 "LookupIP": reflect.ValueOf(q.LookupIP), 125 "LookupMX": reflect.ValueOf(q.LookupMX), 126 "LookupNS": reflect.ValueOf(q.LookupNS), 127 "LookupPort": reflect.ValueOf(q.LookupPort), 128 "LookupSRV": reflect.ValueOf(q.LookupSRV), 129 "LookupTXT": reflect.ValueOf(q.LookupTXT), 130 "ParseCIDR": reflect.ValueOf(q.ParseCIDR), 131 "ParseIP": reflect.ValueOf(q.ParseIP), 132 "ParseMAC": reflect.ValueOf(q.ParseMAC), 133 "Pipe": reflect.ValueOf(q.Pipe), 134 "ResolveIPAddr": reflect.ValueOf(q.ResolveIPAddr), 135 "ResolveTCPAddr": reflect.ValueOf(q.ResolveTCPAddr), 136 "ResolveUDPAddr": reflect.ValueOf(q.ResolveUDPAddr), 137 "ResolveUnixAddr": reflect.ValueOf(q.ResolveUnixAddr), 138 "SplitHostPort": reflect.ValueOf(q.SplitHostPort), 139 }, 140 TypedConsts: map[string]igop.TypedConst{ 141 "FlagBroadcast": {reflect.TypeOf(q.FlagBroadcast), constant.MakeInt64(int64(q.FlagBroadcast))}, 142 "FlagLoopback": {reflect.TypeOf(q.FlagLoopback), constant.MakeInt64(int64(q.FlagLoopback))}, 143 "FlagMulticast": {reflect.TypeOf(q.FlagMulticast), constant.MakeInt64(int64(q.FlagMulticast))}, 144 "FlagPointToPoint": {reflect.TypeOf(q.FlagPointToPoint), constant.MakeInt64(int64(q.FlagPointToPoint))}, 145 "FlagUp": {reflect.TypeOf(q.FlagUp), constant.MakeInt64(int64(q.FlagUp))}, 146 }, 147 UntypedConsts: map[string]igop.UntypedConst{ 148 "IPv4len": {"untyped int", constant.MakeInt64(int64(q.IPv4len))}, 149 "IPv6len": {"untyped int", constant.MakeInt64(int64(q.IPv6len))}, 150 }, 151 }) 152 }