base

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainEntity

type DomainEntity interface {
	AddEvent(event DomainEvent)
	PopEvents() []DomainEvent
}

type DomainEntityImpl

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

func NewDomainEntity

func NewDomainEntity() *DomainEntityImpl

func (*DomainEntityImpl) AddEvent

func (d *DomainEntityImpl) AddEvent(event DomainEvent)

func (*DomainEntityImpl) PopEvents

func (d *DomainEntityImpl) PopEvents() []DomainEvent

type DomainEvent

type DomainEvent interface {
	ID() string
	Type() string
}

Jump to

Keyboard shortcuts

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