registry

package
v0.0.0-...-758283c Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry interface {
	// ListServices list all services
	ListServices(ctx *context.Context) ([]string, error)
	// ListInstances list all instances of the service
	ListInstances(ctx *context.Context, applicationName string, serviceName string) ([]string, error)
}

Registry is the interface that wraps the basic methods of registry.

type Service

type Service struct {
	Ip   string
	Port int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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