MCPcopy
hub / github.com/grpc/grpc-go / funcDialOption

Struct funcDialOption

dialoptions.go:144–146  ·  view source on GitHub ↗

funcDialOption wraps a function that modifies dialOptions into an implementation of the DialOption interface.

Source from the content-addressed store, hash-verified

142// funcDialOption wraps a function that modifies dialOptions into an
143// implementation of the DialOption interface.
144type funcDialOption struct {
145 f func(*dialOptions)
146}
147
148func (fdo *funcDialOption) apply(do *dialOptions) {
149 fdo.f(do)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected