Documentation
¶
Overview ¶
Package proxyconfig provide YAML and JSON configuration options for proxy settings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyConfig ¶
type ProxyConfig struct {
// Proxy URL, e.g. http://user:password@localhost:8080
URL string `yaml:"url" json:"url"`
}
func (ProxyConfig) Check ¶ added in v1.0.1
func (p ProxyConfig) Check() error
func (ProxyConfig) MarshalJSON ¶
func (p ProxyConfig) MarshalJSON() ([]byte, error)
func (ProxyConfig) MarshalYAML ¶
func (p ProxyConfig) MarshalYAML() (interface{}, error)
Click to show internal directories.
Click to hide internal directories.