Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerInfo ¶
type ServerInfo struct { Name string `json:"name"` Address string `json:"address"` TLS bool `json:"tls"` MTLS bool `json:"mtls"` CA []byte `json:"ca,omitempty"` Cert []byte `json:"cert,omitempty"` Key []byte `json:"key,omitempty"` }
ServerInfo contains the information about servers
func (ServerInfo) HttpClient ¶
func (s ServerInfo) HttpClient() (*http.Client, error)
type ServerInfoList ¶
type ServerInfoList struct {
Servers []ServerInfo `json:"servers"`
}
ServerInfo contains the information about servers
Click to show internal directories.
Click to hide internal directories.