add more important node stats

This commit is contained in:
2026-07-08 11:47:07 +02:00
parent 8614e09004
commit b20f3b39a3
3 changed files with 35 additions and 8 deletions

View File

@@ -22,8 +22,8 @@ type ByteSize struct {
size uint64
}
func Bytes(size int64) ByteSize {
return ByteSize{size: uint64(size)}
func Bytes(size int64) *ByteSize {
return &ByteSize{size: uint64(size)}
}
func (b *ByteSize) String() string {