firehose

package
v0.0.0-...-5623d4f Latest Latest
Warning

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

Go to latest
Published: May 12, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Publish

func Publish(channel, message string) error

Types

type Publisher

type Publisher interface {
	Publish(string, string) error
}
var DefaultPublisher Publisher

func New

func New(client *redis.Client) Publisher

type RedisClient

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

func (*RedisClient) Publish

func (c *RedisClient) Publish(channel, message string) error

Jump to

Keyboard shortcuts

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