registry

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	REGISTRY = "registry"
	// TAGS_SEPARATOR is the separator used to split the tags passed in the tag env var for the specific service registry.
	TAGS_SEPARATOR = ","
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceRegistry

type ServiceRegistry interface {
	component.Component
	// Registers the service server
	Register(ctx context.Context, server server.Server) error
	// Address returns the address of the registry
	Address() string
	// ConnectionString returns the full formatted connection string
	ConnectionString(...interface{}) string
	// Returns the string name of the registry
	ToString() string
}

ServiceRegistry - service registry

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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