event

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 8, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attributes

type Attributes struct {
	Timestamp       int64                  `json:"timestamp"`
	Datetime        string                 `json:"Datetime"`
	UUID            string                 `json:"uuid"`
	EventProperties map[string]interface{} `json:"event_properties"`
}

Attributes represents the data structure for an existing attributes.

type ExistingEvent

type ExistingEvent struct {
	ID         string `json:"id"`
	EventType  string `json:"type"`
	Attributes Attributes
}

ExistingEvent represents the data structure for an existing event.

type ExistingProfile

type ExistingProfile struct {
	ID string `json:"id"`
}

ExistingProfile represents the data structure for an existing profile for event structure.

type MetricAttributes

type MetricAttributes struct {
	Name string `json:"name"`
}

MetricAttributes represents the data structure for a metric attributes.

type NewAttributes

type NewAttributes struct {
	Time       string                 `json:"time"`
	Value      float64                `json:"value"`
	Properties map[string]interface{} `json:"properties"`
	Profile    interface{}            `json:"profile"`
	Metric     interface{}            `json:"metric"`
}

NewAttributes represents the data structure for an attributes of event that is not yet created.

type NewEvent

type NewEvent struct {
	NewAttributes `json:"attributes"`
}

NewEvent represents the data structure for an event that is not yet created.

type NewMetric

type NewMetric struct {
	Attributes MetricAttributes `json:"attributes"`
}

NewMetric represents the data structure for a metric that is not yet created.

Jump to

Keyboard shortcuts

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