Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHost ¶
GetHost tries to determine the host from the passed url and returns it. The returned host will be stripped of the "www." subdomain, if it exists. e.g. GetHost("https://www.api.example.com") --> "api.example.com".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.