discovery

package
v0.0.0-...-bfcc399 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 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 ConsulControl

type ConsulControl struct {
	Client *api.Client
	Config *api.AgentServiceRegistration
}

func ConnConsul

func ConnConsul(addr string) (*ConsulControl, error)

func (*ConsulControl) Register

func (c *ConsulControl) Register(config *api.AgentServiceRegistration) error

func (*ConsulControl) UnRegister

func (c *ConsulControl) UnRegister(serviceId string) error

Jump to

Keyboard shortcuts

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