funcDialOption wraps a function that modifies dialOptions into an implementation of the DialOption interface.
| 142 | // funcDialOption wraps a function that modifies dialOptions into an |
| 143 | // implementation of the DialOption interface. |
| 144 | type funcDialOption struct { |
| 145 | f func(*dialOptions) |
| 146 | } |
| 147 | |
| 148 | func (fdo *funcDialOption) apply(do *dialOptions) { |
| 149 | fdo.f(do) |
nothing calls this directly
no outgoing calls
no test coverage detected