summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-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 {