Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nodeinfo ¶
func (*Nodeinfo) Nodeinfo20 ¶
func (a *Nodeinfo) Nodeinfo20(w http.ResponseWriter, r *http.Request)
type Nodeinfo20 ¶
type Nodeinfo20 struct {
Version string `json:"version"`
Protocols []string `json:"protocols"`
OpenRegistrations bool `json:"openRegistrations"`
Software Nodeinfo20Software `json:"software"`
Usage Nodeinfo20Usage `json:"usage"`
}
type Nodeinfo20Software ¶
type Nodeinfo20Usage ¶
type Nodeinfo20Usage struct {
LocalPosts int64 `json:"localPosts"`
Users Nodeinfo20Users `json:"users"`
}
type Nodeinfo20Users ¶
type Nodeinfo20Users struct {
Total int64 `json:"total"`
}
Click to show internal directories.
Click to hide internal directories.