add more important node stats

This commit is contained in:
2026-07-08 11:47:07 +02:00
committed by T. von Dein
parent 76ad6c7afa
commit 068711589b
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 {