Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Schemes = struct { HTTP Scheme HTTPS Scheme }{ "http", "https", }
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { Scheme Scheme `json:"scheme"` // Protocol which proxy server uses Server string `json:"server"` // Address (either IP or Hostname) of proxy server Port int `json:"port"` // Port of proxy server User *string `json:"user,omitempty"` // User of proxy server, null means do not change previous value Password *string `json:"password,omitempty"` // Password of proxy server, null means do not change previous value NonProxyHosts []string `json:"nonProxyHosts,omitempty"` // Definition of hosts for which proxy won't be used. You can define multiple hosts. Each host can start or end with wildcard '*' for instance to match whole domain. }
The configuration of the user
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.