discovery

package
v0.0.0-...-c54bc52 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllService

func AllService() map[string]*api.AgentService

func GetGrpcConn

func GetGrpcConn(consulConn *api.Client, name string) (*grpc.ClientConn, error)

func GetHealthService

func GetHealthService(cli *api.Client, serviceName string) (*api.AgentService, error)

func Register

func Register(addr string, port int, name string, tags []string, id string)

func UnRegister

func UnRegister()

Types

type Discovery

type Discovery interface {
}

Jump to

Keyboard shortcuts

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