memory

package
v3.0.0-beta.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStream

func NewStream(opts ...Option) (events.Stream, error)

NewStream returns an initialized memory stream

Types

type Option

type Option func(o *Options)

Option is a function which configures options

func Store

func Store(s store.Store) Option

Store sets the store to use

type Options

type Options struct {
	Store store.Store
}

Options which are used to configure the in-memory stream

Jump to

Keyboard shortcuts

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