Affected by GO-2022-1029
and 4 other vulnerabilities
GO-2022-1029: HashiCorp Consul vulnerable to authorization bypass in github.com/hashicorp/consul
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
package
Version:
v1.11.0-beta2
Opens a new window with list of versions in this module.
Published: Nov 2, 2021
License: MPL-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func HookPBTimestampToTime(from, to reflect.Type, data interface{}) (interface{}, error)
HookPBTimestampToTime is a mapstructure decode hook to translate a protobuf timestamp
to a time.Time value
func HookTimeToPBTimestamp(from, to reflect.Type, data interface{}) (interface{}, error)
HookTimeToPBtimestamp is a mapstructure decode hook to translate a time.Time value to
a protobuf Timestamp value.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.