queue

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRedisClient

func NewRedisClient(redisUrl string) (*v9redis.Client, error)

Types

type MessageQueue

type MessageQueue interface {
	PushMessageToQueue(ctx context.Context, queueName string, data string) error
	GetLastMessageFromQueue(ctx context.Context, queueName string) (string, error)
}

func NewDWQueue

func NewDWQueue(size uint) MessageQueue

func NewRedisRepo

func NewRedisRepo(rclient *v9redis.Client) MessageQueue

Jump to

Keyboard shortcuts

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