Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Name string `json:"name,omitempty"` Scope []string `json:"scope,omitempty"` TimestampOffsetNs int64 `json:"timestamp_offset_ns,omitempty"` Tags []*Tag `json:"tags,omitempty"` }
func (*Event) TagsString ¶
type Packet ¶
type Packet struct { Application string `json:"application,omitempty"` ApplicationVersion string `json:"application_version,omitempty"` Instance string `json:"instance,omitempty"` StartTimestamp *Timestamp `json:"start_timestamp,omitempty"` SendOffsetNs int64 `json:"send_offset_ns,omitempty"` Events []*Event `json:"events,omitempty"` }
type Record ¶
type Record struct { Application string `json:"application,omitempty"` ApplicationVersion string `json:"application_version,omitempty"` Instance string `json:"instance,omitempty"` SourceAddr string `json:"source_addr,omitempty"` Timestamp *Timestamp `json:"timestamp,omitempty"` TimestampCorrectionNs int64 `json:"timestamp_correction_ns,omitempty"` Tags []*Tag `json:"tags,omitempty"` }
type Tag ¶
type Tag struct { Key string `json:"key,omitempty"` Value isTag_Value }
func (*Tag) ValueString ¶
type Tag_Double ¶
type Tag_Double struct {
Double float64
}
type Tag_DurationNs ¶
type Tag_DurationNs struct {
DurationNs int64
}
type Tag_String_ ¶
type Tag_String_ struct {
String_ []byte
}
type Tag_Timestamp ¶
type Tag_Timestamp struct {
Timestamp *Timestamp
}
Click to show internal directories.
Click to hide internal directories.