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 ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.