Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenWithClient ¶
OpenWithClient opens a local file or a remote file, using the given (non-nil) HTTP client for http/https URLs. Callers that must confine remote access (e.g. to defeat SSRF via redirects) should pass a client whose transport validates the peer at dial time; Open passes http.DefaultClient.
Types ¶
type ErrURISchemeNotSupported ¶
type ErrURISchemeNotSupported struct {
Scheme string
}
ErrURISchemeNotSupported represents a scheme error
func (ErrURISchemeNotSupported) Error ¶
func (e ErrURISchemeNotSupported) Error() string
Click to show internal directories.
Click to hide internal directories.