Skip to content
Snippets Groups Projects
Commit 48b1e4bb authored by Patrick's avatar Patrick
Browse files

fix import and add comment

parent 8d0b8419
No related branches found
No related tags found
No related merge requests found
......@@ -19,11 +19,17 @@ package registry
import (
"encoding/json"
"strconv"
)
import (
gxsort "github.com/dubbogo/gost/sort"
)
import (
"github.com/apache/dubbo-go/common"
"github.com/apache/dubbo-go/common/constant"
"github.com/apache/dubbo-go/common/logger"
gxsort "github.com/dubbogo/gost/sort"
"strconv"
)
// ServiceInstance is the model class of an instance of a service, which is used for service registration and discovery.
......@@ -62,6 +68,7 @@ type ServiceInstance interface {
// GetAddress
GetAddress() string
// SetServiceMetadata
SetServiceMetadata(info *common.MetadataInfo)
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment