Affected by GO-2023-1827
and 4 other vulnerabilities
GO-2023-1827 : Hashicorp Consul vulnerable to denial of service in github.com/hashicorp/consul
GO-2023-1828 : Hashicorp Consul allows user with service:write permissions to patch remote proxy instances 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.15.1
Opens a new window with list of versions in this module.
Published: Mar 7, 2023
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.