package
0.0.0-20201020153340-53909ea70814
Repository: https://github.com/gagliardetto/golang-go.git
Documentation: pkg.go.dev
# Functions
Get returns the body of the HTTP or HTTPS resource specified at the given URL.
GetBytes returns the body of the requested resource, or an error if the response status was not http.StatusOK.
Join returns the result of adding the slash-separated path elements to the end of u's path.
OpenBrowser attempts to open the requested URL in a web browser.
Redacted returns a redacted string form of the URL, suitable for printing in error messages.
# Constants
Allow plain HTTP if explicit; validate HTTPS.
Allow plain HTTP if not explicitly HTTPS; skip HTTPS validation.
Reject plain HTTP; validate HTTPS.
# Type aliases
SecurityMode specifies whether a function should make network calls using insecure transports (eg, plain text HTTP).