package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Functions

EmptyHostParser simply returns a zero value HostData.
NewHostDataFromURL returns a new HostData based on the contents of the URL.
NewHostDataFromURLWithTransport Allow to specify what kind of transport to in conjonction of the url, this is useful if you use a combined scheme like "http+unix://" or "http+npipe".
ParseURL returns HostData object from a raw 'host' value and a series of defaults that are added to the URL if not present in the rawHost value.
PassThruHostParser is a HostParser that sets the HostData URI, SanitizedURI, and Host to the configured 'host' value.
SetQueryParams adds the query params to existing query parameters overwriting any keys that already exist.
SetURLUser set the user credentials in the given URL.

# Structs

URLHostParserBuilder builds a tailored HostParser for used with host strings that are URLs.