Documentation ¶
Overview ¶
Package trace extends nettrace with logging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Trace ¶
type Trace struct {
// contains filtered or unexported fields
}
A Trace represents an active request.
func (*Trace) Error ¶
Error marks the trace as having seen an error, and also logs it to the trace's log.
func (*Trace) Finish ¶
func (t *Trace) Finish()
Finish the trace. It should not be changed after this is called.
Click to show internal directories.
Click to hide internal directories.