MCPcopy
hub / github.com/jackc/pgx / TraceConnectStart

Method TraceConnectStart

tracer.go:95–95  ·  view source on GitHub ↗

TraceConnectStart is called at the beginning of Connect and ConnectConfig calls. The returned context is used for the rest of the call and will be passed to TraceConnectEnd.

(ctx context.Context, data TraceConnectStartData)

Source from the content-addressed store, hash-verified

93 // TraceConnectStart is called at the beginning of Connect and ConnectConfig calls. The returned context is used for
94 // the rest of the call and will be passed to TraceConnectEnd.
95 TraceConnectStart(ctx context.Context, data TraceConnectStartData) context.Context
96
97 TraceConnectEnd(ctx context.Context, data TraceConnectEndData)
98}

Callers 2

connectFunction · 0.65
TraceConnectStartMethod · 0.65

Implementers 4

testTracertracer_test.go
TraceLogtracelog/tracelog.go
testFullTracermultitracer/tracer_test.go
Tracermultitracer/tracer.go

Calls

no outgoing calls

Tested by

no test coverage detected