cosmetic
This commit is contained in:
1 parent
22e612a738
commit
e656d74633
1 file changed
+7
-7
+7
-7
@@ -25,13 +25,6 @@ type NameCollisionError struct {
|
|||||||
|
|
||||||
type PeerNameSet map[PeerName]struct{}
|
type PeerNameSet map[PeerName]struct{}
|
||||||
|
|
||||||
type ConnectionSummary struct {
|
|
||||||
NameByte []byte
|
|
||||||
RemoteTCPAddr string
|
|
||||||
Outbound bool
|
|
||||||
Established bool
|
|
||||||
}
|
|
||||||
|
|
||||||
type PeerSummary struct {
|
type PeerSummary struct {
|
||||||
NameByte []byte
|
NameByte []byte
|
||||||
NickName string
|
NickName string
|
||||||
@@ -39,6 +32,13 @@ type PeerSummary struct {
|
|||||||
Version uint64
|
Version uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ConnectionSummary struct {
|
||||||
|
NameByte []byte
|
||||||
|
RemoteTCPAddr string
|
||||||
|
Outbound bool
|
||||||
|
Established bool
|
||||||
|
}
|
||||||
|
|
||||||
func NewPeers(ourself *Peer, onGC func(*Peer)) *Peers {
|
func NewPeers(ourself *Peer, onGC func(*Peer)) *Peers {
|
||||||
return &Peers{
|
return &Peers{
|
||||||
ourself: ourself,
|
ourself: ourself,
|
||||||
|
|||||||
Reference in new issue
Block a user