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