bucketworker

package
v0.0.0-...-3a733ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketDispatcher

type BucketDispatcher struct {
	// contains filtered or unexported fields
}

func NewBucketDispatcher

func NewBucketDispatcher(maxJobs, maxWorkers int, callbackC chan func()) *BucketDispatcher

func (*BucketDispatcher) Exec

func (d *BucketDispatcher) Exec(execFunc func() []byte, callbackFunc func([]byte), bucket int)

func (*BucketDispatcher) Run

func (d *BucketDispatcher) Run()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL