etcd

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Prefix = "etcd3_naming"

Prefix should start and end with no slash

Functions

func NewResolver

func NewResolver(serviceName string) *resolver

NewResolver return resolver with service name

func Register

func Register(name string, host string, port int, target string, interval time.Duration, ttl int) error

Register

func UnRegister

func UnRegister() error

UnRegister delete registered service from etcd

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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