consul

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RegistryType = "consul"
)

Functions

This section is empty.

Types

type Client

type Client struct {
	DataCenter string
	NameSpace  string
	Token      string
	Address    string
	// contains filtered or unexported fields
}

type Consul

type Consul struct {
	consul.RegistryType
	// contains filtered or unexported fields
}

func (*Consul) NewClient

func (reg *Consul) NewClient(config *consul.Config) (*Client, error)

func (*Consul) Reload

func (reg *Consul) Reload(c registrytype.RegistryConfig) error

func (*Consul) Start

func (reg *Consul) Start(c registrytype.RegistryConfig) error

func (*Consul) Stop

func (reg *Consul) Stop() error

Jump to

Keyboard shortcuts

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