Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NetStats ¶
type NetStats struct {
ContractStats map_counter.Map
CreatedAt int64
}
func Load ¶
func Load(sfile *file.NetStats, initMap func() map_counter.Map) (ns NetStats)
Load from file format
func (NetStats) GetNextReset ¶
Returns time next Reset in the future, and if NS should have been already reset
Click to show internal directories.
Click to hide internal directories.