consulsd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const RemoveServiceTimeout = time.Minute + 5*time.Second

Consul移除服务时间,Consul要求必须在1分钟后才能删除TTL超时的服务

View Source
const ServiceTTL = 5 * time.Second

心跳时间

View Source
const ServiceTTLTimeout = 7 * time.Second

心跳超时

Variables

This section is empty.

Functions

func NewDiscovery

func NewDiscovery() discovery.Discovery

Types

This section is empty.

Jump to

Keyboard shortcuts

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