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 (*URL) IsHTTPOrHTTPS ¶
IsHTTPOrHTTPS returns true if u is http or https
func (*URL) MarshalYAML ¶
MarshalYAML implements yaml.Marshaler interface.
func (*URL) SetHeaders ¶
SetHeaders sets headers to req according to u and ac configs.
func (*URL) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.