Package list golang-github-go-kit-kit / 59e076e
updating AfterFunc docs JP Robinson 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
99 // Dialer dials a network and address. net.Dial is a good default Dialer.
1010 type Dialer func(network, address string) (net.Conn, error)
1111
12 // time.After is a good default afterFunc.
12 // AfterFunc imitates time.After.
1313 type AfterFunc func(time.Duration) <-chan time.Time
1414
1515 // Manager manages a net.Conn. Clients should take the conn when they want to