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
10371312
Commit
10371312
authored
4 years ago
by
Patrick
Browse files
Options
Downloads
Patches
Plain Diff
event_publishing_service_discovery.go init
parent
bdd57ef5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
registry/common/event_publishing_service_discovery.go
+90
-0
90 additions, 0 deletions
registry/common/event_publishing_service_discovery.go
with
90 additions
and
0 deletions
registry/common/event_publishing_service_discovery.go
0 → 100644
+
90
−
0
View file @
10371312
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
common
import
(
gxset
"github.com/dubbogo/gost/container/set"
gxpage
"github.com/dubbogo/gost/page"
)
import
(
"github.com/apache/dubbo-go/registry"
)
type
EventPublishingServiceDiscovery
struct
{
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
String
()
string
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
Destroy
()
error
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
Register
(
instance
registry
.
ServiceInstance
)
error
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
Update
(
instance
registry
.
ServiceInstance
)
error
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
Unregister
(
instance
registry
.
ServiceInstance
)
error
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
GetDefaultPageSize
()
int
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
GetServices
()
*
gxset
.
HashSet
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
GetInstances
(
serviceName
string
)
[]
registry
.
ServiceInstance
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
GetInstancesByPage
(
serviceName
string
,
offset
int
,
pageSize
int
)
gxpage
.
Pager
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
GetHealthyInstancesByPage
(
serviceName
string
,
offset
int
,
pageSize
int
,
healthy
bool
)
gxpage
.
Pager
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
GetRequestInstances
(
serviceNames
[]
string
,
offset
int
,
requestedSize
int
)
map
[
string
]
gxpage
.
Pager
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
AddListener
(
listener
*
registry
.
ServiceInstancesChangedListener
)
error
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
DispatchEventByServiceName
(
serviceName
string
)
error
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
DispatchEventForInstances
(
serviceName
string
,
instances
[]
registry
.
ServiceInstance
)
error
{
panic
(
"implement me"
)
}
func
(
epsd
*
EventPublishingServiceDiscovery
)
DispatchEvent
(
event
*
registry
.
ServiceInstancesChangedEvent
)
error
{
panic
(
"implement me"
)
}
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