Documentation ¶
Overview ¶
Package qlog transforms quiwi logs to qlog
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonFields ¶
type CommonFields struct {
GroupID string `json:"group_id,omitempty"`
}
CommonFields is the trace common fields. https://quicwg.org/qlog/draft-ietf-quic-qlog-main-schema.html#section-3.4.7
type Configuration ¶
type Configuration struct {
TimeOffset uint64 `json:"time_offset,omitempty"`
}
Configuration is the trace configuration. https://quicwg.org/qlog/draft-ietf-quic-qlog-main-schema.html#section-3.3.1
type Event ¶ added in v0.0.7
type Event struct { GroupID string `json:"-"` Time uint64 `json:"time"` Name string `json:"name"` Data map[string]interface{} `json:"data"` }
Event is the trace event including time, event name and data. https://quicwg.org/qlog/draft-ietf-quic-qlog-main-schema.html#section-3.4
type File ¶ added in v0.0.8
type File struct { Version string `json:"qlog_version"` Format string `json:"qlog_format,omitempty"` Title string `json:"title,omitempty"` Traces []Trace `json:"traces,omitempty"` }
File is the qlog file. https://quicwg.org/qlog/draft-ietf-quic-qlog-main-schema.html#section-3
type Trace ¶
type Trace struct { Title string `json:"title,omitempty"` Configuration Configuration `json:"configuration,omitempty"` CommonFields CommonFields `json:"common_fields,omitempty"` VantagePoint VantagePoint `json:"vantage_point,omitempty"` Events []Event `json:"events,omitempty"` }
Trace is the qlog trace. https://quicwg.org/qlog/draft-ietf-quic-qlog-main-schema.html#section-3.2
type VantagePoint ¶
type VantagePoint struct {
Type string `json:"type"`
}
VantagePoint is the vantage point from which the traces originate. https://quicwg.org/qlog/draft-ietf-quic-qlog-main-schema.html#section-3.3.2