Affected by GO-2022-1029
and 1 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
package
Version:
v1.11.8
Opens a new window with list of versions in this module.
Published: Aug 11, 2022
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.