Skip to content

Commit

Permalink
Update PeerInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
nsurfer committed Feb 8, 2021
1 parent b0da8a2 commit be0f943
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jsm.go
Expand Up @@ -406,7 +406,9 @@ type ClusterInfo struct {
type PeerInfo struct {
Name string `json:"name"`
Current bool `json:"current"`
Offline bool `json:"offline,omitempty"`
Active time.Duration `json:"active"`
Lag uint64 `json:"lag,omitempty"`
}

// UpdateStream updates a Stream.
Expand Down

0 comments on commit be0f943

Please sign in to comment.