plamas/peer: just use net.Conn for generality

This commit is contained in:
Olaoluwa Osuntokun 2015-12-20 17:10:09 -06:00
parent 093bbf40ad
commit f52f2fd26c

@ -1,6 +1,7 @@
package main
import (
"net"
"sync"
"time"
@ -34,7 +35,8 @@ type peer struct {
started int32
connected int32
disconnect int32 // only to be used atomically
// conn *ETcpConn or w/e it is in strux
// *ETcpConn or w/e it is in strux
conn net.Conn
// TODO(rosabeef): one for now, may need more granularity
sync.RWMutex