aqueue

package
v0.0.0-...-d140a6e Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

type Queue struct {
	// contains filtered or unexported fields
}

func New

func New() *Queue

New 虚拟构造 /**

func (*Queue) Publish

func (queue *Queue) Publish(channel string, message interface{}) (int64, error)

Publish 发布消息 /**

func (*Queue) Subscribe

func (queue *Queue) Subscribe(channel string, callback callable, v interface{})

Subscribe 订阅消息 /**

Jump to

Keyboard shortcuts

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