From 00fd0ef99ddfc44cc2c341686a044ed521cb55e6 Mon Sep 17 00:00:00 2001 From: baozhecheng Date: Tue, 23 Aug 2022 14:32:35 +0800 Subject: [PATCH] add func comment --- contrib/registry/consul/registry.go | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/registry/consul/registry.go b/contrib/registry/consul/registry.go index 5b8cb5fcc..507e36f89 100644 --- a/contrib/registry/consul/registry.go +++ b/contrib/registry/consul/registry.go @@ -63,6 +63,7 @@ func WithDeregisterCriticalServiceAfter(interval int) Option { } } +// WithRegistryServicePortByScheme with registry service port by scheme func WithRegistryServicePortByScheme(scheme string) Option { return func(o *Registry) { if o.cli != nil {