trace

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL