From 16c91c1139d9f03f42c63298f2179822b8d50eb2 Mon Sep 17 00:00:00 2001 From: sanine Date: Mon, 15 May 2023 18:47:06 +0000 Subject: properly implement subpath handling --- config/config.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config/config.go') 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 { -- cgit v1.2.1