models

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 0 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeTrackedEvent

type ChangeTrackedEvent struct {
	Event
	IsNew bool `json:"-"`
}

type Event

type Event struct {
	Id            string `json:"id"`
	Version       int64  `json:"version" binding:"required"`
	Name          string `json:"name" binding:"required"`
	Data          []byte `json:"data" binding:"required"`
	AggregateId   string `json:"aggregateId"`
	AggregateType string `json:"aggregateType" binding:"required"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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