summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.yaml4
-rw-r--r--config/config.go6
2 files changed, 10 insertions, 0 deletions
diff --git a/config.yaml b/config.yaml
index 4c47f55..820d69d 100644
--- a/config.yaml
+++ b/config.yaml
@@ -14,6 +14,10 @@ dirs:
meta:
title: git good
description: i think it's a skill issue
+misc:
+ goImport:
+ prettyURL: icyphox.sh
server:
+ fqdn: git.icyphox.sh
host: 127.0.0.1
port: 5555
diff --git a/config/config.go b/config/config.go
index 4b89dc1..b9bcbbd 100644
--- a/config/config.go
+++ b/config/config.go
@@ -21,7 +21,13 @@ type Config struct {
Title string `yaml:"title"`
Description string `yaml:"description"`
} `yaml:"meta"`
+ Misc struct {
+ GoImport struct {
+ PrettyURL string `yaml:"string"`
+ } `yaml:"goImport"`
+ } `yaml:"misc"`
Server struct {
+ FQDN string `yaml:"fqdn,omitempty"`
Host string `yaml:"host"`
Port int `yaml:"port"`
} `yaml:"server"`