worker

package
v0.0.0-...-0adad2b Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 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 KeyedWorkQueue

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

func NewKeyedWorkQueue

func NewKeyedWorkQueue(log *logrus.Entry, buffer int) KeyedWorkQueue

func (KeyedWorkQueue) Close

func (d KeyedWorkQueue) Close()

func (KeyedWorkQueue) Dispatch

func (d KeyedWorkQueue) Dispatch(key string, work Work)

func (KeyedWorkQueue) Wait

func (d KeyedWorkQueue) Wait()

type Work

type Work func()

Jump to

Keyboard shortcuts

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