serviceregistry

package
v0.0.0-...-b4e98b9 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConsulServiceRegistry

func NewConsulServiceRegistry(host string, port int, token string) (*consulServiceRegistry, error)

new a consulServiceRegistry instance token is optional

func NewLocalServiceRegistry

func NewLocalServiceRegistry() *localServiceRegistry

Types

type ServiceRegistry

type ServiceRegistry interface {
	Register(serviceInstance instance.ServiceInstance) bool

	Deregister()
}

Jump to

Keyboard shortcuts

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