registries

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// these keys prefixed with "DubboService" are used for user configuring dubbo specific information
	// and are passed within the kitex.
	DubboServiceGroupKey       = "dubbo-service-group"
	DubboServiceVersionKey     = "dubbo-service-version"
	DubboServiceInterfaceKey   = "dubbo-service-interface"
	DubboServiceWeightKey      = "dubbo-service-weight"
	DubboServiceApplicationKey = "dubbo-service-application"

	DefaultRegistryGroup      = "dubbo"
	DefaultProtocol           = "dubbo"
	DefaultDubboServiceWeight = 100

	RegistryServicesKeyTemplate = "/%s/%s/providers"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type URL

type URL struct {
	// contains filtered or unexported fields
}

func (*URL) FromInfo

func (u *URL) FromInfo(info *registry.Info) error

func (*URL) FromString

func (u *URL) FromString(raw string) error

func (*URL) GetRegistryServiceKey

func (u *URL) GetRegistryServiceKey(registryGroup string) string

func (*URL) ToInstance

func (u *URL) ToInstance() discovery.Instance

func (*URL) ToString

func (u *URL) ToString() string

Directories

Path Synopsis
zookeeper module

Jump to

Keyboard shortcuts

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