stores

package
v0.0.0-...-647cb14 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEvent

func NewEvent(e dom.Event) gocqrs.Event

Types

type EventoStore

type EventoStore struct {
	URL   string `json:"url"`
	Proxy bool   `json:"proxy"`
	// contains filtered or unexported fields
}

func NewEventoStore

func NewEventoStore(url string, proxy bool) *EventoStore

func (EventoStore) Range

func (es EventoStore) Range(streamid string) (chan gocqrs.Eventer, uint64)

func (EventoStore) Scan

func (es EventoStore) Scan(streamid string, from, to uint64) chan gocqrs.Event

func (EventoStore) Store

func (estore EventoStore) Store(e gocqrs.Eventer, opt gocqrs.StoreOptions) (uint64, error)

func (EventoStore) Version

func (es EventoStore) Version(streamid string) (uint64, error)

Jump to

Keyboard shortcuts

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