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:
13
config/config.go
Normal file
13
config/config.go
Normal 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"
|
||||
Reference in New Issue
Block a user