diff --git a/nodeinfo.go b/nodeinfo.go index 548b1c6..46979f3 100644 --- a/nodeinfo.go +++ b/nodeinfo.go @@ -49,9 +49,10 @@ type ( // From the spec: Free form key value pairs for software specific values. // Clients should not rely on any specific key present. Metadata struct { - NodeName string `json:"nodeName,omitempty"` - NodeDescription string `json:"nodeDescription,omitempty"` - Private bool `json:"private,omitempty"` + NodeName string `json:"nodeName,omitempty"` + NodeDescription string `json:"nodeDescription,omitempty"` + Private bool `json:"private,omitempty"` + Software SoftwareMeta `json:"software,omitempty"` } Services struct { @@ -66,6 +67,12 @@ type ( Version string `json:"version"` } + SoftwareMeta struct { + HomePage string `json:"homepage"` + GitHub string `json:"github"` + Follow string `json:"follow"` + } + // Usage is usage statistics for this server. Usage struct { Users UsageUsers `json:"users"`