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.
Click to show internal directories.
Click to hide internal directories.