2
0
mirror of synced 2025-02-23 06:08:07 +00:00
torrent/closewrapper.go

13 lines
153 B
Go
Raw Normal View History

2018-11-21 17:02:22 +11:00
package torrent
import "net"
type closeWrapper struct {
net.Conn
closer func() error
}
func (me closeWrapper) Close() error {
return me.closer()
}