servicediscovery

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UseGeneralServiceDiscovery added in v1.6.6

func UseGeneralServiceDiscovery(serviceCollection *dependencyinjection.ServiceCollection)

Types

type Client added in v1.6.6

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

func NewClient added in v1.6.6

func NewClient(discovery servicediscovery.IServiceDiscovery) *Client

func (*Client) GetAllInstances added in v1.6.6

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

func (*Client) GetAllServiceNames added in v1.6.6

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

func (*Client) GetAllServices added in v1.6.6

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

func (*Client) GetService added in v1.6.6

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

func (*Client) Watch added in v1.6.6

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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