redisdisco

package
v0.0.0-...-682f362 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2013 License: MIT Imports: 1 Imported by: 1

Documentation

Overview

Package redisdisco provides a redis-backed discovery service for messageq.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisDiscovery

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

func New

func New(pool *redis.Pool, prefix, delim string) *RedisDiscovery

func (*RedisDiscovery) Close

func (rd *RedisDiscovery) Close() error

func (*RedisDiscovery) Register

func (rd *RedisDiscovery) Register(channel, endpoint string) error

func (*RedisDiscovery) Subscribers

func (rd *RedisDiscovery) Subscribers(channel string) ([]string, error)

func (*RedisDiscovery) Unregister

func (rd *RedisDiscovery) Unregister(channel, endpoint string) error

Jump to

Keyboard shortcuts

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