Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type URL ¶
URL implements YAML.Marshaler and yaml.Unmarshaler interfaces for url.URL.
func MustNewURL ¶ added in v1.56.0
MustNewURL returns new URL for the given u.
func (*URL) IsHTTPOrHTTPS ¶ added in v1.58.0
IsHTTPOrHTTPS returns true if u is http or https
func (*URL) MarshalYAML ¶
MarshalYAML implements yaml.Marshaler interface.
func (*URL) SetHeaders ¶ added in v1.79.0
SetHeaders sets headers to req according to u and ac configs.
Click to show internal directories.
Click to hide internal directories.