WithHTTPIsProd setting up production environment markers
(isProd bool)
| 32 | |
| 33 | // WithHTTPIsProd setting up production environment markers |
| 34 | func WithHTTPIsProd(isProd bool) HTTPOption { |
| 35 | return func(o *httpOptions) { |
| 36 | o.isProd = isProd |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | // WithHTTPRegistry registration services |
| 41 | func WithHTTPRegistry(iRegistry registry.Registry, instance *registry.ServiceInstance) HTTPOption { |
no outgoing calls