eventlog

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package eventlog will manage runtime event persistence and retrieval.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(ctx context.Context, repositories *storage.Repositories, input AppendInput) error

func FormatJavaScriptISOString

func FormatJavaScriptISOString(value time.Time) string

func NewEventID

func NewEventID(prefix string) string

Types

type AppendInput

type AppendInput struct {
	ID               string
	EventType        string
	ProjectID        *string
	LoopID           *string
	RunID            *string
	EntityType       *string
	EntityID         *string
	CorrelationID    *string
	CausationID      *string
	ActorType        *string
	ActorID          *string
	ActorDisplayName *string
	Payload          any
	PayloadJSON      *string
	CreatedAt        time.Time
}

Jump to

Keyboard shortcuts

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