Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeStatistics ¶
type NodeStatisticsReference ¶
type NodeStatisticsReference struct {
// contains filtered or unexported fields
}
func NewNodeStatisticsReference ¶
func NewNodeStatisticsReference(db *leveldb.DB, node protocol.NodeID) *NodeStatisticsReference
func (*NodeStatisticsReference) Delete ¶
func (s *NodeStatisticsReference) Delete() error
Never called, maybe because it's worth while to keep the data or maybe because we have no easy way of knowing that a node has been removed.
func (*NodeStatisticsReference) GetLastSeen ¶
func (s *NodeStatisticsReference) GetLastSeen() time.Time
func (*NodeStatisticsReference) GetStatistics ¶
func (s *NodeStatisticsReference) GetStatistics() NodeStatistics
func (*NodeStatisticsReference) WasSeen ¶
func (s *NodeStatisticsReference) WasSeen()
Click to show internal directories.
Click to hide internal directories.