queue

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

package queue implement a message queque api with redis pub/sub command

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(redishost string) *Queue

func (*Queue) Receive

func (q *Queue) Receive(topic string, target interface{}) error

func (*Queue) Send

func (q *Queue) Send(topic string, msg interface{}) error

Jump to

Keyboard shortcuts

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