mem_mq

package
v1.4.3-poc-rc3 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskManager

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

func New

func New(limit int) *TaskManager

func (*TaskManager) Clear

func (tm *TaskManager) Clear(_ string) error

func (*TaskManager) Pop

func (tm *TaskManager) Pop(ch string) (mq.Task, error)

func (*TaskManager) Push

func (tm *TaskManager) Push(ch string, t mq.Task) error

func (*TaskManager) Remove

func (tm *TaskManager) Remove(ch string, id string) error

Jump to

Keyboard shortcuts

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