1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
v2fly/transport/internet/tls/connection.go
2016-11-27 21:39:09 +01:00

22 lines
266 B
Go

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