mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-10 11:03:13 +00:00
14 lines
181 B
Go
14 lines
181 B
Go
|
package badtls
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"crypto/tls"
|
||
|
"net"
|
||
|
)
|
||
|
|
||
|
type TLSConn interface {
|
||
|
net.Conn
|
||
|
HandshakeContext(ctx context.Context) error
|
||
|
ConnectionState() tls.ConnectionState
|
||
|
}
|