MCPcopy Create free account
hub / github.com/efficientgo/e2e / WithProfiledScheme

Function WithProfiledScheme

profiling/profiled.go:46–50  ·  view source on GitHub ↗

WithProfiledScheme allows adding customized scheme. "http" or "https" values allowed. "http" by default. If "https" is specified, insecure TLS will be performed.

(scheme string)

Source from the content-addressed store, hash-verified

44// WithProfiledScheme allows adding customized scheme. "http" or "https" values allowed. "http" by default.
45// If "https" is specified, insecure TLS will be performed.
46func WithProfiledScheme(scheme string) ProfiledOption {
47 return func(o *rOpt) {
48 o.scheme = scheme
49 }
50}
51
52type ProfiledOption func(*rOpt)
53

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…