synthesizer

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

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