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
Click to show internal directories.
Click to hide internal directories.