MCPcopy Create free account

hub / github.com/abursavich/nett / functions

Functions72 in github.com/abursavich/nett

↓ 5 callersMethodLen
()
dial.go:241
↓ 5 callersFunctionresolveAddrList
(resolver Resolver, filter ipFilter, network, address string)
resolve.go:105
↓ 3 callersMethodAddr
(i int)
dial.go:242
↓ 3 callersFunctiondtoi
Decimal to integer starting at &s[i0]. Returns number, new offset, success.
parse.go:121
↓ 3 callersFunctionprobe
(filename, query string)
ipsock_plan9.go:9
↓ 3 callersMethodteardown
()
mockserver_test.go:52
↓ 2 callersMethodDial
Dial connects to the address on the named network. Known networks are "tcp", "tcp4" (IPv4-only), "tcp6" (IPv6-only), "udp", "udp4" (IPv4-only), "udp6
dial.go:109
↓ 2 callersMethodResolve
Resolve looks up the given host and returns its IP addresses.
resolve.go:29
↓ 2 callersFunctionbyteIndex
(s string, c byte)
parse.go:73
↓ 2 callersFunctionclosesocket
(s int)
fd_unix.go:11
↓ 2 callersMethodgetLineFromData
()
parse.go:23
↓ 2 callersFunctionlast
Index of rightmost occurrence of b in s.
parse.go:163
↓ 2 callersFunctionparseIPv4
parseIPv4 parses s as an IPv4 address.
resolve.go:253
↓ 2 callersMethodreadLine
()
parse.go:47
↓ 2 callersFunctionsplitHostZone
(s string)
resolve.go:391
↓ 2 callersMethodteardownNetwork
(net string)
mockserver_test.go:40
↓ 1 callersMethodResolve
Resolve returns a host's IP addresses.
resolve.go:64
↓ 1 callersMethodbuildup
(server func(*dualStackServer, net.Listener))
mockserver_test.go:26
↓ 1 callersMethodclose
()
parse.go:21
↓ 1 callersFunctioncountAnyByte
Count occurrences in s of any bytes in t.
parse.go:83
↓ 1 callersMethoddeadline
Return either now+Timeout or Deadline, whichever comes first. Or zero, if neither is set.
dial.go:70
↓ 1 callersFunctiondialMulti
dialMulti attempts to establish connections to each destination of the list of addresses. It will return the first established connection and close th
dial.go:158
↓ 1 callersFunctionfilterIPs
filterIPs returns the non-nil results of filter applied to ips. It is processed in-place: the contents of ips is not preserved and the result is slice
resolve.go:405
↓ 1 callersFunctiongetFields
(s string)
parse.go:114
↓ 1 callersFunctionipToSockaddr
(family int, ip net.IP, port int, zone string)
ipsock_posix.go:76
↓ 1 callersFunctionisDomainName
(s string)
resolve.go:416
↓ 1 callersMethodnetDialer
(deadline time.Time)
dial_go1.go:14
↓ 1 callersFunctionnewDualStackServer
(lns []streamListener)
mockserver_test.go:68
↓ 1 callersFunctionopen
(name string)
parse.go:65
↓ 1 callersFunctionparseHostPort
(network, address string)
resolve.go:215
↓ 1 callersFunctionparseIPv6
parseIPv6 parses s as a literal IPv6 address described in RFC 4291 and RFC 5952. It can also parse a literal scoped IPv6 address with zone identifier
resolve.go:287
↓ 1 callersFunctionparseNetwork
(network string)
resolve.go:189
↓ 1 callersFunctionparsePort
parsePort parses port as a network service port number for both TCP and UDP.
resolve.go:237
↓ 1 callersFunctionprobeIPv4Stack
()
ipsock_posix.go:16
↓ 1 callersFunctionprobeIPv6Stack
Should we try to use the IPv4 socket interface if we're only dealing with IPv4 sockets? As long as the host system understands IPv6, it's okay to pas
ipsock_posix.go:40
↓ 1 callersFunctionresolveAddrsDeadline
(resolver Resolver, filter ipFilter, network, address string, deadline time.Time)
dial.go:126
↓ 1 callersFunctionresolveInternetAddrList
(resolver Resolver, filter ipFilter, network, address string)
resolve.go:120
↓ 1 callersFunctionsplitAtBytes
Split s at any bytes in t.
parse.go:94
↓ 1 callersFunctiontcpSockaddr
(a net.TCPAddr, family int)
ipsock_posix.go:72
↓ 1 callersFunctionxtoi
Hexadecimal to integer starting at &s[i0]. Returns number, new offset, success.
parse.go:137
↓ 1 callersFunctionzoneToInt
(zone string)
ipsock_posix.go:115
MethodAddr
(i int)
dial.go:251
MethodAddr
(i int)
dial.go:254
MethodAddr
(i int)
dial.go:257
MethodAddr
(i int)
dial.go:260
FunctionDualStack
DualStack selects the first IPv4 address and IPv6 address in ips.
dial.go:217
MethodError
()
dial.go:264
FunctionExample
()
example_test.go:16
MethodLen
()
dial.go:250
MethodLen
()
dial.go:253
MethodLen
()
dial.go:256
MethodLen
()
dial.go:259
MethodResolve
Resolve looks up the given host using the local resolver. It returns an array of that host's IPv4 and IPv6 addresses.
resolve.go:40
MethodTemporary
()
dial.go:266
FunctionTestCacheResolver
(t *testing.T)
resolve_test.go:126
FunctionTestDialHTTP
(t *testing.T)
dial_test.go:16
FunctionTestDialMulti
(t *testing.T)
dial_test.go:38
FunctionTestResolveIP
(t *testing.T)
resolve_test.go:101
FunctionTestResolveTCP
(t *testing.T)
resolve_test.go:51
FunctionTestResolveUDP
(t *testing.T)
resolve_test.go:76
MethodTimeout
()
dial.go:265
Functionclosesocket
(s syscall.Handle)
fd_windows.go:9
FunctiondefaultIP
defaultIP gives priority to IPv4 addresses and selects the first address.
dial.go:197
Functioninit
()
resolve_test.go:24
Functioninit
()
ipsock.go:26
Functionipv4only
ipv4only returns IPv4 addresses that we can use with the kernel's IPv4 addressing modes. If ip is an IPv4 address, ipv4only returns ip. Otherwise it r
resolve.go:467
Functionipv6only
ipv6only returns IPv6 addresses that we can use with the kernel's IPv6 addressing modes. It returns IPv4-mapped IPv6 addresses as nils and returns ot
resolve.go:477
MethodnetDialer
(deadline time.Time)
dial_go1_3.go:14
FunctionprobeIPv4Stack
()
ipsock_plan9.go:33
FunctionprobeIPv6Stack
probeIPv6Stack returns two boolean values. If the first boolean value is true, kernel supports basic IPv6 functionality. If the second boolean value
ipsock_plan9.go:40
MethodputConn
(c net.Conn)
mockserver_test.go:33
FunctionsupportedIP
supportedIP returns a version of the IP that the platform supports. If it is not supported it returns nil.
ipsock.go:33