package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: May 31, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CertKey struct {
Cert string `yaml:"cert" json:"cert"`
Key string `yaml:"key" json:"key"`
}
listen related
type Dial struct {
Network string `yaml:"network" json:"network"`
Addrs []string `yaml:"addrs" json:"addrs"`
AdvertisedAddr string `yaml:"advertised_addr,omitempty" json:"advertised_addr"`
TLS TLS `yaml:"tls,omitempty" json:"tls"`
}
type Listen struct {
Network string `yaml:"network" json:"network"`
Addr string `yaml:"addr" json:"addr"`
AdvertisedAddr string `yaml:"advertised_addr,omitempty" json:"advertised_addr"`
TLS TLS `yaml:"tls,omitempty" json:"tls"`
}
type TLS struct {
Enable bool `yaml:"enable" json:"enable"`
MTLS bool `yaml:"mtls" json:"mtls"`
CACerts []string `yaml:"ca_certs" json:"ca_certs"`
Certs []CertKey `yaml:"certs" json:"certs"`
InsecureSkipVerify bool `yaml:"insecure_skip_verify" json:"insecure_skip_verify"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.