Documentation ¶ Index ¶ func Config(c *consul.Config) registry.Option func NewRegistry(opts ...registry.Option) registry.Registry func TCPCheck(t time.Duration) registry.Option Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Config ¶ func Config(c *consul.Config) registry.Option func NewRegistry ¶ func NewRegistry(opts ...registry.Option) registry.Registry func TCPCheck ¶ added in v0.6.0 func TCPCheck(t time.Duration) registry.Option TCPCheck will tell the service provider to check the service address and port every `t` interval. It will enabled only if `t` is greater than 0. See `TCP + Interval` for more information [1]. [1] https://www.consul.io/docs/agent/checks.html Types ¶ This section is empty. Source Files ¶ View all Source files consul.go options.go Click to show internal directories. Click to hide internal directories.