WithProfiledScheme allows adding customized scheme. "http" or "https" values allowed. "http" by default. If "https" is specified, insecure TLS will be performed.
(scheme string)
| 44 | // WithProfiledScheme allows adding customized scheme. "http" or "https" values allowed. "http" by default. |
| 45 | // If "https" is specified, insecure TLS will be performed. |
| 46 | func WithProfiledScheme(scheme string) ProfiledOption { |
| 47 | return func(o *rOpt) { |
| 48 | o.scheme = scheme |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | type ProfiledOption func(*rOpt) |
| 53 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…