event

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseEvent

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

BaseEvent provides common fields for events.

func NewBaseEvent

func NewBaseEvent(name string) BaseEvent

NewBaseEvent creates a new BaseEvent with a unique ID and current timestamp.

func (*BaseEvent) EventID

func (b *BaseEvent) EventID() string

func (*BaseEvent) EventName

func (b *BaseEvent) EventName() string

func (*BaseEvent) Timestamp

func (b *BaseEvent) Timestamp() time.Time

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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