mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 20:40:25 +08:00
20 lines
342 B
Go
20 lines
342 B
Go
package serverconfigs
|
|
|
|
import "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/sslconfigs"
|
|
|
|
type TLSProtocolConfig struct {
|
|
BaseProtocol `yaml:",inline"`
|
|
|
|
SSL *sslconfigs.SSLConfig `yaml:"ssl" json:"ssl"`
|
|
}
|
|
|
|
// 初始化
|
|
func (this *TLSProtocolConfig) Init() error {
|
|
err := this.InitBase()
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
return nil
|
|
}
|