(inherited map[fileName]*file, lc *net.ListenConfig)
| 82 | } |
| 83 | |
| 84 | func newFds(inherited map[fileName]*file, lc *net.ListenConfig) *Fds { |
| 85 | if inherited == nil { |
| 86 | inherited = make(map[fileName]*file) |
| 87 | } |
| 88 | |
| 89 | if lc == nil { |
| 90 | lc = &net.ListenConfig{} |
| 91 | } |
| 92 | |
| 93 | return &Fds{ |
| 94 | inherited: inherited, |
| 95 | used: make(map[fileName]*file), |
| 96 | lc: lc, |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | func (f *Fds) newListener(network, addr string) (net.Listener, error) { |
| 101 | return f.lc.Listen(context.Background(), network, addr) |
no outgoing calls
searching dependent graphs…