Documentation
¶
Overview ¶
TraceLogRequest represents a single request from an HTTP trace.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TraceLog ¶
type TraceLog []TraceLogRequest
type TraceLogRequest ¶
type TraceLogRequest struct {
// Timestamp of the request start, relative to the start of the traceLog.
Delay time.Duration `json:"delay"`
// HTTP method
Method string `json:"method"`
// Path in the URL request, which is the specific endpoint being accessed
Path string `json:"path"`
// Request headers
Headers map[string]string `json:"headers"`
// Request body
Body []byte `json:"body"`
}
TraceLogRequest represents a single request from an HTTP trace
Click to show internal directories.
Click to hide internal directories.