Add NodeInfo endpoints

Includes new instance stats and the new option to show user stats, as
well.
This commit is contained in:
Matt Baer
2018-10-17 18:57:37 -04:00
parent 39477cfcab
commit 1a6f61690e
4 changed files with 104 additions and 0 deletions

4
app.go
View File

@@ -18,6 +18,10 @@ import (
const (
staticDir = "static/"
serverSoftware = "Write Freely"
softwareURL = "https://writefreely.org"
softwareVer = "0.1"
)
type app struct {