Documentation
¶
Overview ¶
Package httpsurl validates service URLs before callers send credentials or device data to them.
Parse requires an absolute HTTPS URL with a hostname and rejects user information, fragments and opaque URLs. Errors omit the input because it may contain credentials. URL validation does not establish trust in the server; callers remain responsible for TLS verification and redirect policy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrURL = errors.New(
"endpoint must be an absolute HTTPS URL without user information or a fragment",
)
ErrURL deliberately excludes the input, which may contain credentials.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.