Versions in this module Expand all Collapse all v0 v0.0.4 Jun 29, 2025 v0.0.3 Jun 15, 2025 Changes in this version + const Priority + var AppName = "event" + type Event struct + Action string + ErrorMessage string + Extras map[string]string + Id string + Ip string + Label map[string]string + Namespace string + ResourceId string + ResourceType string + Service string + StatusCode int + Time int64 + UserAgent string + Who string + func NewEvent() *Event + func (e *Event) Load(data []byte) error + func (e *Event) ToKafkaMessage() kafka.Message + type QueryEventRequest struct + func NewQueryEventRequest() *QueryEventRequest + type Service interface + QueryEvent func(context.Context, *QueryEventRequest) (*types.Set[*Event], error) + SaveEvent func(context.Context, *types.Set[*Event]) error + func GetService() Service