sql

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregateChangedFactory

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

AggregateChangedFactory reconstructs aggregate.Changed messages

func NewAggregateChangedFactory

func NewAggregateChangedFactory(factory goengine.MessagePayloadFactory) (*AggregateChangedFactory, error)

NewAggregateChangedFactory returns a new instance of an AggregateChangedFactory

func (*AggregateChangedFactory) CreateEventStream

func (f *AggregateChangedFactory) CreateEventStream(rows *sql.Rows) (goengine.EventStream, error)

CreateEventStream reconstruct the aggregate.Changed messages from the sql.Rows

type InvalidMetadataValueTypeError

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

InvalidMetadataValueTypeError is an error indicating the value metadata key was an unexpected type.

func (*InvalidMetadataValueTypeError) Error

type MissingMetadataError

type MissingMetadataError string

MissingMetadataError is an error indicating the requested metadata was nil.

func (MissingMetadataError) Error

func (e MissingMetadataError) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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