WithAddress sets the remote addresses to use rather than using service discovery.
(a ...string)
| 307 | |
| 308 | // WithAddress sets the remote addresses to use rather than using service discovery. |
| 309 | func WithAddress(a ...string) CallOption { |
| 310 | return func(o *CallOptions) { |
| 311 | o.Address = a |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | func WithSelectOption(so ...selector.SelectOption) CallOption { |
| 316 | return func(o *CallOptions) { |
no outgoing calls
searching dependent graphs…