|
|
@ -69,8 +69,8 @@ func Logger(logger log.Logger) Option { |
|
|
|
return func(o *options) { o.logger = logger } |
|
|
|
return func(o *options) { o.logger = logger } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Registrar with service registry.
|
|
|
|
// Registry with service registry.
|
|
|
|
func Registrar(r registry.Registrar) Option { |
|
|
|
func Registry(r registry.Registrar) Option { |
|
|
|
return func(o *options) { o.registrar = r } |
|
|
|
return func(o *options) { o.registrar = r } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|