aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2018-07-04 13:16:52 -0700
committerAdam Mathes <adam@trenchant.org>2018-07-04 13:16:52 -0700
commit556f1c98528c4523c4095b438b9436ade5e0d84b (patch)
tree2860ad4532d7748bfd6824013ad2446e0f9fbfdc /config
parent29b012f8a995136ab832aac44311af919152ae24 (diff)
downloadneko-556f1c98528c4523c4095b438b9436ade5e0d84b.tar.gz
neko-556f1c98528c4523c4095b438b9436ade5e0d84b.tar.bz2
neko-556f1c98528c4523c4095b438b9436ade5e0d84b.zip
wip, simplifications
Diffstat (limited to 'config')
-rw-r--r--config/config.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/config.go b/config/config.go
index 9a6df3a..91ffd87 100644
--- a/config/config.go
+++ b/config/config.go
@@ -7,9 +7,8 @@ import (
)
type Settings struct {
- DBDriver string `json:"db_driver"`
- DBServer string `json:"db"`
- WebServer string `json:"web"`
+ DBFile string `json:"db"`
+ Port int `json:"web"`
Username string `json:"username"`
DigestPassword string `json:"password"`
ProxyImages bool `json:"proxy_images"`