dogego_module_mq

package module
v0.0.0-...-dc0f6cb Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 License: MIT Imports: 3 Imported by: 3

README

dogego_module_mq

DogeGo的RedisMQ实现.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisMQ

type RedisMQ struct {
	RedisClient *redis.Client
}

func NewRedisMQ

func NewRedisMQ(redis_client *redis.Client) *RedisMQ

func (*RedisMQ) Custome

func (mq *RedisMQ) Custome(queuename string, cb func(message string) error) error

func (*RedisMQ) Publish

func (mq *RedisMQ) Publish(queuename string, message string) error

Jump to

Keyboard shortcuts

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