Rework configuration to it's own package and make it available to web server. Start a template driven web interface.

This commit is contained in:
2021-01-31 17:53:32 +10:30
parent 55bb5a8bae
commit 46a0f5a187
8 changed files with 326 additions and 90 deletions

13
config/config.go Normal file
View File

@@ -0,0 +1,13 @@
package config
// Config for the application
var Config struct {
WebHookURL string
Path string
Watch int
Username string
NoWatermark bool
Exclude string
}
const CurrentVersion string = "0.6"