Documentation ¶
Index ¶
- type Readtiming
- type Result
- func (r *Result) Af() int
- func (r *Result) Bsize() int
- func (r *Result) Dnserr() string
- func (r *Result) DstAddr() string
- func (r *Result) Err() string
- func (r *Result) Header() []string
- func (r *Result) Hsize() int
- func (r *Result) Method() string
- func (r *Result) Readtimings() []*Readtiming
- func (r *Result) Res() int
- func (r *Result) Rt() float64
- func (r *Result) SrcAddr() string
- func (r *Result) Subid() int
- func (r *Result) Submax() int
- func (r *Result) Time() int
- func (r *Result) Ttc() float64
- func (r *Result) Ttfb() float64
- func (r *Result) Ttr() float64
- func (r *Result) UnmarshalJSON(b []byte) error
- func (r *Result) Ver() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Readtiming ¶
type Readtiming struct {
// contains filtered or unexported fields
}
HTTP timing result.
func (*Readtiming) T ¶
func (r *Readtiming) T() float64
Time since starting to connect when data is received (in milli seconds).
func (*Readtiming) UnmarshalJSON ¶
func (r *Readtiming) UnmarshalJSON(b []byte) error
type Result ¶
type Result struct {
// contains filtered or unexported fields
}
HTTP result.
func (*Result) Header ¶
The last string can be empty to indicate the end of enders or end with "[...]" to indicate truncation (optional).
func (*Result) Readtimings ¶
func (r *Result) Readtimings() []*Readtiming
Timing results for reply data (optional).
func (*Result) Subid ¶
Sequence number of this result within a group of results, when the 'all' option is used without the 'combine' option (optional).
func (*Result) Time ¶
Unix timestamp, when the 'all' option is used with the 'combine' option (optional).
func (*Result) Ttfb ¶
Time to first response byte received by measurent code after starting to connect (in milli seconds) (optional).
func (*Result) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.