Documentation
¶
Overview ¶
Package hosts provides a simple way to parse hostnames and ports. Supported formats are:
- https://example.com:8080
- https://example.com
- tls://example.com:8080
- tls://example.com
- example.com:8080
- example.com
Hosts parsed here are expected to be TLS hosts, and the port defaults to 443.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.