type WaitTime … var closec … func init() { … } type timeList … func NewTimeList() *timeList { … } func (tl *timeList) Wait(deadline uint64) <-chan struct{ … } func (tl *timeList) Trigger(deadline uint64) { … }
type WaitTime … var closec … func init() { … } type timeList … func NewTimeList() *timeList { … } func (tl *timeList) Wait(deadline uint64) <-chan struct{ … } func (tl *timeList) Trigger(deadline uint64) { … }