etcd

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const RegisterMutexPrefix = "_arpc_micro_reg_mux_pfx"

RegisterMutexPrefix .

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery

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

Discovery .

func NewDiscovery

func NewDiscovery(endpoints []string, prefix string, serviceManager micro.ServiceManager) (*Discovery, error)

NewDiscovery .

func (*Discovery) Stop

func (ds *Discovery) Stop() error

Stop .

type Register

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

Register .

func NewRegister

func NewRegister(endpoints []string, key string, value string, ttl int64) (*Register, error)

NewRegister .

func (*Register) Stop

func (s *Register) Stop() error

Stop .

Jump to

Keyboard shortcuts

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