sdk/golang/Standard Library/GoNetHttpHttptrace
Standard Library

GoNetHttpHttptrace

Go stdlib package — net/http/httptrace. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.ContextClientTrace()Neutral
#
Signature
ContextClientTrace(ctx context.Context) *ClientTrace

ContextClientTrace returns the ClientTrace associated with the

.WithClientTrace()Neutral
#
Signature
WithClientTrace(ctx context.Context, trace *ClientTrace) context.Context

WithClientTrace returns a new context based on the provided parent

.ClientTrace()Neutral
#
Signature
type ClientTrace ...

ClientTrace is a set of hooks to run at various stages of an outgoing

.DNSDoneInfo()Neutral
#
Signature
type DNSDoneInfo ...

DNSDoneInfo contains information about the results of a DNS lookup.

.DNSStartInfo()Neutral
#
Signature
type DNSStartInfo ...

DNSStartInfo contains information about a DNS request.

.GotConnInfo()Neutral
#
Signature
type GotConnInfo ...

GotConnInfo is the argument to the ClientTrace.GotConn function and

.WroteRequestInfo()Neutral
#
Signature
type WroteRequestInfo ...

WroteRequestInfo contains information provided to the WroteRequest

Fully-Qualified Names

FQNField
net/http/httptracefqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # net/http/httptrace