event_store

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

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

Go to latest
Published: Nov 8, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventStore

type EventStore struct {
	// contains filtered or unexported fields
}

func (*EventStore) Register

func (e *EventStore) Register(name string) bool

func (*EventStore) Stop

func (e *EventStore) Stop()

type MockEventStore

type MockEventStore struct {
	StopFunc     func()
	RegisterFunc func(name string) bool
}

func (MockEventStore) Register

func (e MockEventStore) Register(name string) bool

func (MockEventStore) Stop

func (e MockEventStore) Stop()

type Store

type Store interface {
	Stop()
	Register(name string) bool
}

func New

func New() Store

Jump to

Keyboard shortcuts

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