bump copyright, added stats page and updated dependencies
This commit is contained in:
parent
b1028b3d8a
commit
0265d820fe
111 changed files with 9556 additions and 3835 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2019 Marius Schellenberger
|
||||
// Copyright (C) 2020 Marius Schellenberger
|
||||
|
||||
package core
|
||||
|
||||
|
|
@ -8,10 +8,20 @@ const (
|
|||
|
||||
IndexURI = WikiSection + "/" + IndexPage
|
||||
|
||||
LoginURI = "/login"
|
||||
LogoutURI = "/logout"
|
||||
TotpURI = "/totp"
|
||||
SectionsURI = "/sections"
|
||||
RootURI = "/"
|
||||
WikiURI = "/wiki"
|
||||
LoginURI = "/login"
|
||||
LogoutURI = "/logout"
|
||||
TotpURI = "/totp"
|
||||
SectionsURI = "/sections"
|
||||
SectionURI = "/section"
|
||||
SearchURI = "/search"
|
||||
StatsURI = "/stats"
|
||||
NewURI = "/new"
|
||||
BlacklistURI = "/blacklist"
|
||||
UsersURI = "/users"
|
||||
UserURI = "/user"
|
||||
ViewURI = "/view"
|
||||
|
||||
BootstrapCSS = "/bootstrap.css"
|
||||
CustomCSS = "/custom.css"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2019 Marius Schellenberger
|
||||
// Copyright (C) 2020 Marius Schellenberger
|
||||
|
||||
package core
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2019 Marius Schellenberger
|
||||
// Copyright (C) 2020 Marius Schellenberger
|
||||
|
||||
package core
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2019 Marius Schellenberger
|
||||
// Copyright (C) 2020 Marius Schellenberger
|
||||
|
||||
package core
|
||||
|
||||
|
|
@ -72,6 +72,14 @@ type Result struct {
|
|||
HTML template.HTML
|
||||
}
|
||||
|
||||
type Stats struct {
|
||||
Goroutines int
|
||||
Alloc string
|
||||
Sys string
|
||||
Docs uint64
|
||||
GoVersion string
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
DataDir string `json:"data_dir,omitempty"`
|
||||
User string `json:"user,omitempty"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue