minor bugfixes and cleanup

This commit is contained in:
ston1th 2018-09-19 00:10:16 +02:00
commit 97d914bce4
26 changed files with 198 additions and 221 deletions

View file

@ -1,3 +1,5 @@
// Copyright (C) 2018 Marius Schellenberger
package core
const (

View file

@ -1,3 +1,5 @@
// Copyright (C) 2018 Marius Schellenberger
package core
type Permission int

View file

@ -1,3 +1,5 @@
// Copyright (C) 2018 Marius Schellenberger
package core
import "html/template"
@ -36,5 +38,17 @@ func (u Users) Less(i, j int) bool { return u[i].Username < u[j].Username }
type Result struct {
Title string
StoreTitle string
Text string
HTML template.HTML
}
type Config struct {
DataDir string
User string
Group string
ListenAddr string
LogFile string
Version string
Secret string
Foreground bool
SecureCookie bool
}