Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
22a7f0099
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
22a7f0099
Commits
f8434c31
Commit
f8434c31
authored
4 years ago
by
xg.gao
Browse files
Options
Downloads
Patches
Plain Diff
format
parent
09fa354e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
registry/registry.go
+3
-2
3 additions, 2 deletions
registry/registry.go
with
3 additions
and
2 deletions
registry/registry.go
+
3
−
2
View file @
f8434c31
...
@@ -31,8 +31,8 @@ import (
...
@@ -31,8 +31,8 @@ import (
type
Registry
interface
{
type
Registry
interface
{
common
.
Node
common
.
Node
// used for service provider calling, register services
to registry
//
Register is
used for service provider calling, register services
// And it is also used for service consumer calling, register
//
to registry.
And it is also used for service consumer calling, register
// services cared about, for dubbo's admin monitoring.
// services cared about, for dubbo's admin monitoring.
Register
(
url
common
.
URL
)
error
Register
(
url
common
.
URL
)
error
...
@@ -45,6 +45,7 @@ type Registry interface {
...
@@ -45,6 +45,7 @@ type Registry interface {
// dubbo://10.20.153.10/org.apache.dubbo.foo.BarService?version=1.0.0&application=kylin
// dubbo://10.20.153.10/org.apache.dubbo.foo.BarService?version=1.0.0&application=kylin
UnRegister
(
url
common
.
URL
)
error
UnRegister
(
url
common
.
URL
)
error
// Subscribe is required to support the contract:
// When creating new registry extension, pls select one of the
// When creating new registry extension, pls select one of the
// following modes.
// following modes.
// Will remove in dubbogo version v1.1.0
// Will remove in dubbogo version v1.1.0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment