Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSynthesizer ¶
func AddSynthesizer(synthesizer SubscribedURLsSynthesizer)
AddSynthesizer registers a SubscribedURLsSynthesizer into the factory list.
Types ¶
type SubscribedURLsSynthesizer ¶
type SubscribedURLsSynthesizer interface {
// Supports the synthesis of the subscribed url or not
Support(subscribedURL *common.URL) bool
// synthesize the subscribed url
Synthesize(subscribedURL *common.URL, serviceInstances []registry.ServiceInstance) []*common.URL
}
SubscribedURLsSynthesizer is used to synthesize the subscribed url
func GetAllSynthesizer ¶
func GetAllSynthesizer() []SubscribedURLsSynthesizer
GetAllSynthesizer returns all registered SubscribedURLsSynthesizer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.