Source file
src/net/net_fake_js.go
1
2
3
4
5
6
7
8
9 package net
10
11 import (
12 "context"
13 "internal/poll"
14
15 "golang.org/x/net/dns/dnsmessage"
16 )
17
18
19 type netFD struct {
20 *fakeNetFD
21
22
23 family int
24 sotype int
25 net string
26 laddr Addr
27 raddr Addr
28
29
30 pfd poll.FD
31 isConnected bool
32 }
33
34 func (r *Resolver) lookup(ctx context.Context, name string, qtype dnsmessage.Type, conf *dnsConfig) (dnsmessage.Parser, string, error) {
35 panic("unreachable")
36 }
37
View as plain text