Documentation ¶
Overview ¶
Package helpers contains helpers to assist in other parts of the code
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanNetworkAddressFromError ¶ added in v3.22.0
CleanNetworkAddressFromError checks whether an IP:Port->IP:port information is contained in the error. This is checked by explicitly sanitizing *net.OpError instances or by returning a sanitized error string without the stack previously present.
As of the loss of information this is only intended to clean up logging and not be used in error returns.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.