Documentation ¶
Index ¶
- type NetStat
- func (this *NetStat) AddRecvStat(msgLen int, msgCount int)
- func (this *NetStat) AddSendStat(msgLen int, msgCount int)
- func (this *NetStat) GetCurrent() *StatData
- func (this *NetStat) GetMax() *StatData
- func (this *NetStat) GetTotal() *StatData
- func (this *NetStat) SetRecvChanItemCount(chanItemCount int)
- func (this *NetStat) SetSendChanItemCount(chanItemCount int)
- func (this *NetStat) Start()
- func (this *NetStat) Stop()
- type StatData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetStat ¶
type NetStat struct {
// contains filtered or unexported fields
}
func NewNetStat ¶
func NewNetStat() *NetStat
func (*NetStat) AddRecvStat ¶
func (*NetStat) AddSendStat ¶
func (*NetStat) GetCurrent ¶
func (*NetStat) SetRecvChanItemCount ¶
func (*NetStat) SetSendChanItemCount ¶
type StatData ¶
type StatData struct {
// contains filtered or unexported fields
}
func (*StatData) GetBytesRecv ¶
func (*StatData) GetBytesSend ¶
func (*StatData) GetMessagesRecv ¶
func (*StatData) GetMessagesSend ¶
func (*StatData) GetRecvChanItemCount ¶
func (*StatData) GetSendChanItemCount ¶
Click to show internal directories.
Click to hide internal directories.