(f InventoryFactoryFunc)
| 61 | } |
| 62 | |
| 63 | func WithInventoryFactory(f InventoryFactoryFunc) HandlerOption { |
| 64 | return func(o *HandlerOptions) { |
| 65 | o.InventoryFactory = f |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | func WithOAuthConfig(cfg *oauth.Config) HandlerOption { |
| 70 | return func(o *HandlerOptions) { |
no outgoing calls