aggregates

package
v4.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TimeWithInvalidValue added in v4.10.0

func TimeWithInvalidValue() (string, error)

Types

type Root

type Root struct {
	Created, Updated *Time
	Events           []*messages.Message
}

func NewRoot

func NewRoot() (*Root, error)

func RootWithValidValue added in v4.10.0

func RootWithValidValue() *Root

func (*Root) CreationStamp added in v4.10.0

func (r *Root) CreationStamp() error

func (*Root) Pull added in v4.8.0

func (r *Root) Pull() []*messages.Message

func (*Root) Record added in v4.8.0

func (r *Root) Record(events ...*messages.Message)

func (*Root) UpdatedStamp added in v4.10.0

func (r *Root) UpdatedStamp() error

type Time added in v4.10.0

type Time struct {
	Value string
}

func NewTime added in v4.10.0

func NewTime(value string) (*Time, error)

func TimeWithValidValue added in v4.10.0

func TimeWithValidValue() *Time

Jump to

Keyboard shortcuts

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