mirror of
https://github.com/XrayR-project/XrayR.git
synced 2025-06-08 13:29:54 +00:00
18 lines
666 B
Go
18 lines
666 B
Go
package mylego
|
|
|
|
type CertConfig struct {
|
|
CertMode string `mapstructure:"CertMode"` // none, file, http, dns
|
|
CertDomain string `mapstructure:"CertDomain"`
|
|
CertFile string `mapstructure:"CertFile"`
|
|
KeyFile string `mapstructure:"KeyFile"`
|
|
Provider string `mapstructure:"Provider"` // alidns, cloudflare, gandi, godaddy....
|
|
Email string `mapstructure:"Email"`
|
|
DNSEnv map[string]string `mapstructure:"DNSEnv"`
|
|
RejectUnknownSni bool `mapstructure:"RejectUnknownSni"`
|
|
}
|
|
|
|
type LegoCMD struct {
|
|
C *CertConfig
|
|
path string
|
|
}
|