package
6.8.16+incompatible
Repository: https://github.com/tencentblueking/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.
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.