Documentation ¶ Index ¶ type Chan func NewChan() Chan func (this *Chan) Cancel() func (this *Chan) Notify() func (this *Chan) Wait() bool func (this *Chan) WaitTimeout(timeout time.Duration) bool type Do func NewDo() *Do func (this *Do) Cancel() func (this *Do) Do() bool func (this *Do) Notify() func (this *Do) Sleep(timeout time.Duration) func (this *Do) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Chan ¶ type Chan chan bool func NewChan ¶ func NewChan() Chan func (*Chan) Cancel ¶ func (this *Chan) Cancel() func (*Chan) Notify ¶ func (this *Chan) Notify() func (*Chan) Wait ¶ func (this *Chan) Wait() bool func (*Chan) WaitTimeout ¶ func (this *Chan) WaitTimeout(timeout time.Duration) bool type Do ¶ type Do struct { // contains filtered or unexported fields } func NewDo ¶ func NewDo() *Do func (*Do) Cancel ¶ func (this *Do) Cancel() func (*Do) Do ¶ func (this *Do) Do() bool func (*Do) Notify ¶ func (this *Do) Notify() func (*Do) Sleep ¶ func (this *Do) Sleep(timeout time.Duration) func (*Do) Stop ¶ func (this *Do) Stop() Source Files ¶ View all Source files chan.go do.go Click to show internal directories. Click to hide internal directories.