Affected by GO-2023-1827
and 3 other vulnerabilities
GO-2023-1827 : Hashicorp Consul vulnerable to denial of service in github.com/hashicorp/consul
GO-2024-3241 : Hashicorp Consul Improper Neutralization of HTTP Headers for Scripting Syntax vulnerability in github.com/hashicorp/consul
GO-2024-3242 : Hashicorp Consul Cross-site Scripting vulnerability in github.com/hashicorp/consul
GO-2024-3243 : Hashicorp Consul Path Traversal vulnerability in github.com/hashicorp/consul
Discover Packages
github.com/hashicorp/consul
lib
routine
package
Version:
v1.12.6
Opens a new window with list of versions in this module.
Published: Oct 19, 2022
License: MPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func NewManager(logger hclog.Logger) *Manager
Caveat: The returned stoppedCh indicates that the routine is completed
It's possible that ctx is canceled, but stoppedCh not yet closed
Use mgr.IsRunning(name) than this stoppedCh to tell whether the
instance is still running (not cancelled or completed).
StopAll goroutines. Once StopAll is called, it is no longer safe to add no
goroutines to the Manager.
Wait for all goroutines to stop after StopAll is called.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.