This commit is contained in:
Matthias Radestock committed 2015-05-05 22:08:03 +01:00
1 parent 22e612a738
commit e656d74633
1 file changed
+7 -7
+7 -7
View File
@@ -25,13 +25,6 @@ type NameCollisionError struct {
type PeerNameSet map[PeerName]struct{}
type ConnectionSummary struct {
NameByte []byte
RemoteTCPAddr string
Outbound bool
Established bool
}
type PeerSummary struct {
NameByte []byte
NickName string
@@ -39,6 +32,13 @@ type PeerSummary struct {
Version uint64
}
type ConnectionSummary struct {
NameByte []byte
RemoteTCPAddr string
Outbound bool
Established bool
}
func NewPeers(ourself *Peer, onGC func(*Peer)) *Peers {
return &Peers{
ourself: ourself,