memory

package
v1.0.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 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