mirror of https://github.com/v2ray/v2ray-core
14 lines
191 B
Go
14 lines
191 B
Go
|
package kcp
|
||
|
|
||
|
import "net"
|
||
|
|
||
|
type UnreusableConnection struct {
|
||
|
net.Conn
|
||
|
}
|
||
|
|
||
|
func (c UnreusableConnection) Reusable() bool {
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (c UnreusableConnection) SetReusable(bool) {}
|