Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
@section Новости
@menu
+* Релиз 5.5::
* Релиз 5.4::
* Релиз 5.3::
* Релиз 5.2::
* Релиз 1.0::
@end menu
+@node Релиз 5.5
+@subsection Релиз 5.5
+@itemize
+@item Возможность работы на 32-х битных платформах. @emph{sync/atomic}
+библиотека имеет особенности из-за которых предыдущие версии паниковали.
+@end itemize
+
@node Релиз 5.4
@subsection Релиз 5.4
@itemize
See also this page @ref{Новости, on russian}.
@menu
+* Release 5.5::
* Release 5.4::
* Release 5.3::
* Release 5.2::
* Release 1.0::
@end menu
+@node Release 5.5
+@section Release 5.5
+@itemize
+@item Ability to work on 32-bit platforms. @emph{sync/atomic} library
+has some specific issues that caused panics on previous versions.
+@end itemize
+
@node Release 5.4
@section Release 5.4
@itemize
}
type Peer struct {
+ // Statistics (they are at the beginning for correct int64 alignment)
+ BytesIn uint64
+ BytesOut uint64
+ BytesPayloadIn uint64
+ BytesPayloadOut uint64
+ FramesIn uint64
+ FramesOut uint64
+ FramesUnauth uint64
+ FramesDup uint64
+ HeartbeatRecv uint64
+ HeartbeatSent uint64
+
+ // Basic
Addr string
Id *PeerId
Conn io.Writer
LastSent time.Time
willSentCycle time.Time
- // Statistics
- BytesIn uint64
- BytesOut uint64
- BytesPayloadIn uint64
- BytesPayloadOut uint64
- FramesIn uint64
- FramesOut uint64
- FramesUnauth uint64
- FramesDup uint64
- HeartbeatRecv uint64
- HeartbeatSent uint64
-
// Receiver
BusyR sync.Mutex `json:"-"`
bufR []byte