1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-21 04:34:15 -04:00
v2fly/transport/internet/tls/connection.go
2016-07-10 15:27:58 +02:00

22 lines
272 B
Go

package tls
import (
"crypto/tls"
)
type Connection struct {
*tls.Conn
}
func (this *Connection) Reusable() bool {
return false
}
func (this *Connection) SetReusable(bool) {}
func NewConnection(conn *tls.Conn) *Connection {
return &Connection{
Conn: conn,
}
}