queue

package
v0.1.78 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartRedisQueue

func StartRedisQueue(queueKey, queueGroupName string) error

Types

type Queue

type Queue interface {
	/*
		消息入队,返回消息id
	*/
	Enqueue(key string, message redis.IMessage) (string, error)
	Read(key, groupName string, message redis.IMessage) error
	Start(queueKey, queueGroupName string) error
}

Jump to

Keyboard shortcuts

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