Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseAndLog ¶ added in v0.20.2
func SanitizeAddr ¶ added in v0.5.0
SanitizeAddr trims leading protocol scheme and port from the given IP address or hostname if present.
func SetStatusAndEnd ¶ added in v0.6.3
SetStatusAndEnd sets the status of the span depending on the contents of the passed error and ends it.
func SquareSize ¶ added in v0.7.0
SquareSize returns the size of the square based on the given amount of shares.
func ValidateAddr ¶ added in v0.5.0
ValidateAddr sanitizes the given address and verifies that it is a valid IP or hostname. The sanitized address is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.