Refactor cluster.About() data

This commit is contained in:
Ingo Oppermann
2023-07-14 11:22:08 +02:00
parent fd7354286e
commit cefd35f7da
11 changed files with 431 additions and 250 deletions

View File

@@ -541,6 +541,7 @@ func (n *node) About() NodeAbout {
Name: about.Name,
Address: n.address,
State: state.String(),
Error: n.peerErr,
CreatedAt: createdAt,
Uptime: time.Since(createdAt),
LastContact: n.lastContact,