domain

package
v0.0.0-...-d7d3ec7 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidEvent = errors.New("invalid event")
)

Functions

This section is empty.

Types

type EventSerializer

type EventSerializer struct {
}

func NewEventSerializer

func NewEventSerializer() *EventSerializer

func (*EventSerializer) DeserializeEvent

func (s *EventSerializer) DeserializeEvent(event es.Event) (any, error)

func (*EventSerializer) SerializeEvent

func (s *EventSerializer) SerializeEvent(aggregate es.Aggregate, event any) (es.Event, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳