Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct { EventId uuid.UUID `json:"event_id"` EventType string `json:"event_type"` OccurredOn time.Time `json:"occurred_on"` }
func (*Event) GetEventFullTypeName ¶
func (*Event) GetEventId ¶
func (*Event) GetEventType ¶
func (*Event) GetEventTypeName ¶
func (*Event) GetOccurredOn ¶
type IEvent ¶
type IEvent interface { GetEventId() uuid.UUID GetOccurredOn() time.Time // GetEventTypeName get short type name of the event - we use event short type name instead of full type name because this event in other receiver packages could have different package name GetEventTypeName() string GetEventFullTypeName() string }
Click to show internal directories.
Click to hide internal directories.