redis

package
v0.0.0-...-d1c3952 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, config *Options) (receiver.Receiver, error)

New creates redis receiver

Types

type Options

type Options struct {
	ClientOptions *redis.Options
	Channel       string
}

Options defines initialization options for redis receiver

type Redis

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

Redis defines redis receiver channel

func (*Redis) In

func (r *Redis) In(data interface{})

In provides sending data to the channel

Jump to

Keyboard shortcuts

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