summaryrefslogtreecommitdiff
path: root/config/config.go
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-05-15 18:47:06 +0000
committersanine <sanine.not@pm.me>2023-05-15 18:47:06 +0000
commit16c91c1139d9f03f42c63298f2179822b8d50eb2 (patch)
tree66b301c2c118478f3fffe474425de24cf121dd26 /config/config.go
parent8b47f868ce97f50757225a72b958ed483336fd0c (diff)
properly implement subpath handlingmain
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go
index 85c73f0..32855dc 100644
--- a/config/config.go
+++ b/config/config.go
@@ -29,6 +29,14 @@ type Config struct {
}
+type Api struct {
+ Prefix string
+ Login string
+ Logout string
+ Asset string
+}
+
+
func Load(filename string) (Config, error) {
blob, err := os.ReadFile(filename)
if err != nil {