WithSettingEngine allows providing a SettingEngine to the API. Settings should not be changed after passing the engine to an API.
(s SettingEngine)
| 79 | // WithSettingEngine allows providing a SettingEngine to the API. |
| 80 | // Settings should not be changed after passing the engine to an API. |
| 81 | func WithSettingEngine(s SettingEngine) func(a *API) { |
| 82 | return func(a *API) { |
| 83 | a.settingEngine = &s |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | // WithInterceptorRegistry allows providing Interceptors to the API. |
| 88 | // Settings should not be changed after passing the registry to an API. |
no outgoing calls
searching dependent graphs…