ingress

package
v0.0.0-...-6df0fc1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2020 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PubSubReader

type PubSubReader struct {
	Channel <-chan *redis.Message
	Ctx     context.Context
	// contains filtered or unexported fields
}

PubSubReader is an io.Reader that reads from a redis PubSub channel

func (*PubSubReader) Read

func (rdr *PubSubReader) Read(p []byte) (int, error)

type PubSubWriter

type PubSubWriter struct {
	Redis   *redis.Client
	Channel string
}

PubSubWriter is an io.Writer that publishes to a redis PubSub channel

func (*PubSubWriter) Write

func (wrt *PubSubWriter) Write(p []byte) (int, error)

type WsCollector

type WsCollector struct {
	Redis            *redis.Client
	Addr             string
	DefaultNamespace string
}

WsCollector is a Websocket ProIO data collector

func (*WsCollector) Collect

func (wsc *WsCollector) Collect(c *websocket.Conn)

Jump to

Keyboard shortcuts

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