mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 20:40:25 +08:00
25 lines
410 B
Go
25 lines
410 B
Go
package serverconfigs
|
|
|
|
import "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/sslconfigs"
|
|
|
|
// TLS Version
|
|
type TLSVersion = string
|
|
|
|
// Cipher Suites
|
|
type TLSCipherSuite = string
|
|
|
|
type HTTPSProtocolConfig struct {
|
|
BaseProtocol `yaml:",inline"`
|
|
|
|
SSL *sslconfigs.SSLConfig `yaml:"ssl"`
|
|
}
|
|
|
|
func (this *HTTPSProtocolConfig) Init() error {
|
|
err := this.InitBase()
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
return nil
|
|
}
|