uniqueue

package module
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotYetImplemented refers to the not yet implemented error
	ErrNotYetImplemented = errors.New("not yet implemented")
)

Functions

This section is empty.

Types

type TaskQueue

type TaskQueue interface {
	StartWorker() error
	Register(taskName string, task interface{}) error
	SubmitTask(task string, args ...interface{}) (TaskResult, error)
	SubmitTaskWithMapArgs(task string, args map[string]interface{}) (TaskResult, error)
	Close() error
}

TaskQueue represents an abstraction of a task queue

type TaskResult

type TaskResult interface {
}

TaskResult represents an abtraction of task result

Directories

Path Synopsis
impl

Jump to

Keyboard shortcuts

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