Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMultipleError ¶
Types ¶
type ErrorGroup ¶
type ErrorGroup struct {
// contains filtered or unexported fields
}
func (*ErrorGroup) Add ¶
func (eg *ErrorGroup) Add(delta int)
func (*ErrorGroup) Done ¶
func (eg *ErrorGroup) Done(err error)
func (*ErrorGroup) Wait ¶
func (eg *ErrorGroup) Wait() error
type Ticker ¶
type Ticker struct { C chan struct{} // contains filtered or unexported fields }
func NewPerHourTicker ¶
type WorkerPool ¶
type WorkerPool struct {
// contains filtered or unexported fields
}
func NewWorkerPool ¶
func NewWorkerPool(numWorkers int) *WorkerPool
func (*WorkerPool) Run ¶
func (pool *WorkerPool) Run(ctx context.Context, f func())
Click to show internal directories.
Click to hide internal directories.