mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-03 15:00:26 +08:00
19 lines
329 B
Go
19 lines
329 B
Go
package serverconfigs
|
|
|
|
import "github.com/TeaOSLab/EdgeNode/internal/configs/serverconfigs/sslconfigs"
|
|
|
|
type TLSProtocolConfig struct {
|
|
BaseProtocol `yaml:",inline"`
|
|
|
|
SSL *sslconfigs.SSLConfig `yaml:"ssl"`
|
|
}
|
|
|
|
func (this *TLSProtocolConfig) Init() error {
|
|
err := this.InitBase()
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
return nil
|
|
}
|