WithDynamicConfigClient sets custom client for reading dynamic configuration.
(c dynamicconfig.Client)
| 137 | |
| 138 | // WithDynamicConfigClient sets custom client for reading dynamic configuration. |
| 139 | func WithDynamicConfigClient(c dynamicconfig.Client) ServerOption { |
| 140 | return applyFunc(func(s *serverOptions) { |
| 141 | s.dynamicConfigClient = c |
| 142 | }) |
| 143 | } |
| 144 | |
| 145 | // WithCustomDataStoreFactory sets a custom AbstractDataStoreFactory |
| 146 | // NOTE: this option is experimental and may be changed or removed in future release. |