synthesizer

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSynthesizer

func AddSynthesizer(synthesizer SubscribedURLsSynthesizer)

nolint

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

nolint

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL