Documentation ¶
Index ¶
- Variables
- type ServerMetrics
- func (sm *ServerMetrics) GetAllTransactionsCount() uint32
- func (sm *ServerMetrics) GetDroppedSendPacketsCount() uint32
- func (sm *ServerMetrics) GetInvalidTransactionsCount() uint32
- func (sm *ServerMetrics) GetNewTransactionsCount() uint32
- func (sm *ServerMetrics) GetRandomTransactionRequestsCount() uint32
- func (sm *ServerMetrics) GetReceivedMilestoneRequestsCount() uint32
- func (sm *ServerMetrics) GetReceivedTransactionRequestCount() uint32
- func (sm *ServerMetrics) GetSentMilestoneRequestsCount() uint32
- func (sm *ServerMetrics) GetSentTransactionRequestCount() uint32
- func (sm *ServerMetrics) GetSentTransactionsCount() uint32
- func (sm *ServerMetrics) GetStaleTransactionsCount() uint32
- func (sm *ServerMetrics) IncrAllTransactionsCount() uint32
- func (sm *ServerMetrics) IncrDroppedSendPacketsCount() uint32
- func (sm *ServerMetrics) IncrInvalidTransactionsCount() uint32
- func (sm *ServerMetrics) IncrNewTransactionsCount() uint32
- func (sm *ServerMetrics) IncrRandomTransactionRequestsCount() uint32
- func (sm *ServerMetrics) IncrReceivedMilestoneRequestsCount() uint32
- func (sm *ServerMetrics) IncrReceivedTransactionRequestCount() uint32
- func (sm *ServerMetrics) IncrSentMilestoneRequestsCount() uint32
- func (sm *ServerMetrics) IncrSentTransactionRequestCount() uint32
- func (sm *ServerMetrics) IncrSentTransactionsCount() uint32
Constants ¶
This section is empty.
Variables ¶
var (
)Functions ¶
This section is empty.
Types ¶
type ServerMetrics ¶
type ServerMetrics struct {
// contains filtered or unexported fields
}
Defines the metrics of the server
func (*ServerMetrics) GetAllTransactionsCount ¶
func (sm *ServerMetrics) GetAllTransactionsCount() uint32
Returns the number of all transactions.
func (*ServerMetrics) GetDroppedSendPacketsCount ¶
func (sm *ServerMetrics) GetDroppedSendPacketsCount() uint32
Gets the number of packets dropped from the send queue.
func (*ServerMetrics) GetInvalidTransactionsCount ¶
func (sm *ServerMetrics) GetInvalidTransactionsCount() uint32
Gets the number of invalid transactions.
func (*ServerMetrics) GetNewTransactionsCount ¶
func (sm *ServerMetrics) GetNewTransactionsCount() uint32
Gets the number of new transactions.
func (*ServerMetrics) GetRandomTransactionRequestsCount ¶
func (sm *ServerMetrics) GetRandomTransactionRequestsCount() uint32
Gets the number of random transactions.
func (*ServerMetrics) GetReceivedMilestoneRequestsCount ¶
func (sm *ServerMetrics) GetReceivedMilestoneRequestsCount() uint32
Gets the number of received milestone requests.
func (*ServerMetrics) GetReceivedTransactionRequestCount ¶
func (sm *ServerMetrics) GetReceivedTransactionRequestCount() uint32
Gets the number of received transactions requests count.
func (*ServerMetrics) GetSentMilestoneRequestsCount ¶
func (sm *ServerMetrics) GetSentMilestoneRequestsCount() uint32
Gets the number of send milestone requests.
func (*ServerMetrics) GetSentTransactionRequestCount ¶
func (sm *ServerMetrics) GetSentTransactionRequestCount() uint32
Gets the number of send transaction requests.
func (*ServerMetrics) GetSentTransactionsCount ¶
func (sm *ServerMetrics) GetSentTransactionsCount() uint32
Gets the number of send transactions.
func (*ServerMetrics) GetStaleTransactionsCount ¶
func (sm *ServerMetrics) GetStaleTransactionsCount() uint32
Gets the number of stale transactions.
func (*ServerMetrics) IncrAllTransactionsCount ¶
func (sm *ServerMetrics) IncrAllTransactionsCount() uint32
Increments the all transactions count.
func (*ServerMetrics) IncrDroppedSendPacketsCount ¶
func (sm *ServerMetrics) IncrDroppedSendPacketsCount() uint32
Increments the number of packets dropped from the send queue.
func (*ServerMetrics) IncrInvalidTransactionsCount ¶
func (sm *ServerMetrics) IncrInvalidTransactionsCount() uint32
Increments the invalid transaction count.
func (*ServerMetrics) IncrNewTransactionsCount ¶
func (sm *ServerMetrics) IncrNewTransactionsCount() uint32
Increments the new transactions count.
func (*ServerMetrics) IncrRandomTransactionRequestsCount ¶
func (sm *ServerMetrics) IncrRandomTransactionRequestsCount() uint32
Increments the random transactions count.
func (*ServerMetrics) IncrReceivedMilestoneRequestsCount ¶
func (sm *ServerMetrics) IncrReceivedMilestoneRequestsCount() uint32
Increments the received milestone requests count.
func (*ServerMetrics) IncrReceivedTransactionRequestCount ¶
func (sm *ServerMetrics) IncrReceivedTransactionRequestCount() uint32
Increments the received transactions requests count.
func (*ServerMetrics) IncrSentMilestoneRequestsCount ¶
func (sm *ServerMetrics) IncrSentMilestoneRequestsCount() uint32
Increments the send milestone requests count.
func (*ServerMetrics) IncrSentTransactionRequestCount ¶
func (sm *ServerMetrics) IncrSentTransactionRequestCount() uint32
Increments the send transaction request count.
func (*ServerMetrics) IncrSentTransactionsCount ¶
func (sm *ServerMetrics) IncrSentTransactionsCount() uint32
Increments the send transactions count.