redis

package
v0.0.0-...-7170f57 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageQueue

type MessageQueue struct {
	Client *redis.Client
}

func NewRedisClient

func NewRedisClient() (*MessageQueue, error)

func (*MessageQueue) PopMessageFromQueue

func (m *MessageQueue) PopMessageFromQueue(queueName string) (string, error)

func (*MessageQueue) PushMessageToQueue

func (m *MessageQueue) PushMessageToQueue(queueName string, message string) error

Jump to

Keyboard shortcuts

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