Discover Packages
github.com/internetarchive/Zeno/v2
internal
pkg
consul
package
Version:
v2.0.26
Opens a new window with list of versions in this module.
Published: Jun 2, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package consul provides an interface to Consul for Zeno's use.
Register creates a Consul client and registers the service along with a TTL health check.
If the program stops updating the TTL, Consul will deregister the service after 30 seconds.
Stop cancels the context used to update the TTL check, which will eventually deregister the registered services.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.