servicediscovery

package
v1.9.7 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UseGeneralServiceDiscovery

func UseGeneralServiceDiscovery(serviceCollection *dependencyinjection.ServiceCollection)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(discovery servicediscovery.IServiceDiscovery) *Client

func (*Client) GetAllInstances

func (c *Client) GetAllInstances(serviceName string) []servicediscovery.ServiceInstance

func (*Client) GetAllServiceNames

func (c *Client) GetAllServiceNames() ([]string, error)

func (*Client) GetAllServices

func (c *Client) GetAllServices() ([]*servicediscovery.Service, error)

func (*Client) GetService

func (c *Client) GetService(serviceName string) (*servicediscovery.Service, error)

func (*Client) Watch

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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