nodeconnmetrics

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2022 License: Apache-2.0, BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeConnectionMessageMetrics

type NodeConnectionMessageMetrics interface {
	CountLastMessage(interface{})
	GetMessageTotal() uint32
	GetLastEvent() time.Time
	GetLastMessage() interface{}
}

type NodeConnectionMessagesMetrics

type NodeConnectionMessagesMetrics interface {
	GetOutPullState() NodeConnectionMessageMetrics
	GetOutPullTransactionInclusionState() NodeConnectionMessageMetrics
	GetOutPullConfirmedOutput() NodeConnectionMessageMetrics
	GetOutPostTransaction() NodeConnectionMessageMetrics
	GetInTransaction() NodeConnectionMessageMetrics
	GetInInclusionState() NodeConnectionMessageMetrics
	GetInOutput() NodeConnectionMessageMetrics
	GetInUnspentAliasOutput() NodeConnectionMessageMetrics
}

func NewEmptyNodeConnectionMessagesMetrics

func NewEmptyNodeConnectionMessagesMetrics() NodeConnectionMessagesMetrics

type NodeConnectionMetrics

type NodeConnectionMetrics interface {
	NodeConnectionMessagesMetrics
	SetSubscribed(ledgerstate.Address)
	SetUnsubscribed(ledgerstate.Address)
	GetSubscribed() []ledgerstate.Address
	RegisterMetrics()
	NewMessagesMetrics(chainID *iscp.ChainID) NodeConnectionMessagesMetrics
}

func New

func NewEmptyNodeConnectionMetrics

func NewEmptyNodeConnectionMetrics() NodeConnectionMetrics

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL