memtaskmgr

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemTaskMgr

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

func NewMemTaskMgr

func NewMemTaskMgr() *MemTaskMgr

func (*MemTaskMgr) Destroy

func (mgr *MemTaskMgr) Destroy(channel string) error

func (*MemTaskMgr) Push

func (mgr *MemTaskMgr) Push(channel string, task *mq.Task) error

func (*MemTaskMgr) Remove

func (mgr *MemTaskMgr) Remove(channel, id string) error

func (*MemTaskMgr) Shift

func (mgr *MemTaskMgr) Shift(channel string) (*mq.Task, error)

Jump to

Keyboard shortcuts

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