tls.go 191 B

12345678910111213
  1. package kcp
  2. import "net"
  3. type UnreusableConnection struct {
  4. net.Conn
  5. }
  6. func (c UnreusableConnection) Reusable() bool {
  7. return false
  8. }
  9. func (c UnreusableConnection) SetReusable(bool) {}