Source file
src/net/cgo_stub.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14 package net
15
16 import "context"
17
18
19
20 const cgoAvailable = false
21
22 func cgoLookupHost(ctx context.Context, name string) (addrs []string, err error) {
23 panic("cgo stub: cgo not available")
24 }
25
26 func cgoLookupPort(ctx context.Context, network, service string) (port int, err error) {
27 panic("cgo stub: cgo not available")
28 }
29
30 func cgoLookupIP(ctx context.Context, network, name string) (addrs []IPAddr, err error) {
31 panic("cgo stub: cgo not available")
32 }
33
34 func cgoLookupCNAME(ctx context.Context, name string) (cname string, err error, completed bool) {
35 panic("cgo stub: cgo not available")
36 }
37
38 func cgoLookupPTR(ctx context.Context, addr string) (ptrs []string, err error) {
39 panic("cgo stub: cgo not available")
40 }
41
View as plain text