mqueue

package module
v0.0.0-...-67244d4 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name   string
	Url    string
	Driver string
}

type Queue

type Queue interface {
	Send(body []byte) error
	Delay(body []byte, expire string) error
	Receive(callback func(body []byte)) error
	SetLogger(l queue.Logger)
	EnableLog(e bool)
}

func New

func New(c Config) (Queue, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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