MCPcopy Create free account
hub / github.com/ProspectOne/perfops-cli / CurlRequest

Struct CurlRequest

perfops/run.go:129–138  ·  view source on GitHub ↗

CurlRequest represents the parameters for a curl request.

Source from the content-addressed store, hash-verified

127
128 // CurlRequest represents the parameters for a curl request.
129 CurlRequest struct {
130 Target string `json:"target,omitempty"`
131 Head bool `json:"head"`
132 Insecure bool `json:"insecure,omitempty"`
133 HTTP2 bool `json:"http2,omitempty"`
134 Nodes NodeIDs `json:"nodes,omitempty"`
135 Location string `json:"location,omitempty"`
136 Limit int `json:"limit,omitempty"`
137 IPVersion int `json:"ipversion,omitempty"`
138 }
139
140 argError struct {
141 name string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected