updating AfterFunc docs
JP Robinson
7 years ago
9 | 9 | // Dialer dials a network and address. net.Dial is a good default Dialer. |
10 | 10 | type Dialer func(network, address string) (net.Conn, error) |
11 | 11 | |
12 | // time.After is a good default afterFunc. | |
12 | // AfterFunc imitates time.After. | |
13 | 13 | type AfterFunc func(time.Duration) <-chan time.Time |
14 | 14 | |
15 | 15 | // Manager manages a net.Conn. Clients should take the conn when they want to |