sing-shadowtls/tls.go
2023-02-20 13:51:43 +08:00

20 lines
407 B
Go

//go:build go1.20
package shadowtls
import (
sTLS "github.com/sagernet/sing-shadowtls/tls"
)
type (
sTLSConfig = sTLS.Config
sTLSConnectionState = sTLS.ConnectionState
sTLSConn = sTLS.Conn
sTLSCurveID = sTLS.CurveID
sTLSRenegotiationSupport = sTLS.RenegotiationSupport
)
var (
sTLSCipherSuites = sTLS.CipherSuites
sTLSClient = sTLS.Client
)