mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-31 02:26:36 +08:00
20 lines
353 B
Go
20 lines
353 B
Go
package serverconfigs
|
|
|
|
import "github.com/TeaOSLab/EdgeNode/internal/configs/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
|
|
}
|