Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractAltSvcEndpoints ¶
ExtractAltSvcH3Endpoints reads Alt-Svc header returns a list of [host]:port endpoints
func ExtractURLPort ¶
ExtractURLPort returns the :port part from URL.Host (host[:port])
An empty string is returned if no port is found
func Hyperlink ¶
Print Hyperlink via OSC 8 ansi sequence. The syntax is: 'OSC 8 ; params ; url ST text OSC 8 ; ; ST' for more info see https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
func MaybeHyperlink ¶
MaybeHyperlink turns input into ANSI hyperlink when stdin is a tty
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.