1
0
mirror of https://github.com/fumiama/terasu.git synced 2026-06-27 08:10:23 +08:00

optimize: api

This commit is contained in:
源文雨
2024-04-16 15:10:47 +09:00
parent dc4fb1ae72
commit 62d3c9f6be
5 changed files with 50 additions and 15 deletions

2
tls.go
View File

@@ -57,7 +57,7 @@ type halfConn struct {
trafficSecret []byte // current TLS 1.3 traffic secret
}
type trsconn tls.Conn
type Conn tls.Conn
// A _trsconn represents a secured connection.
// It implements the net._trsconn interface.