stream

package
v0.0.0-...-b258b02 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stream

type Stream interface {
	Add(key string, event protocol.Event) (addedEvent protocol.Event, err error)
	Get(key string, id string) (event protocol.Event, err error)
	Delete(key string) error
}

Stream is the interface for accessing the distributed stream

func NewRedis

func NewRedis(redisClient *redis.Client) Stream

NewRedis returns the Redis implementation of Stream

Jump to

Keyboard shortcuts

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