about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-03-15 21:30:00 +0100
committerEmile <hanemile@protonmail.com>2020-03-15 21:30:00 +0100
commit103f30692fbc684c104364d38b65899e4863e545 (patch)
treea88a7ab58466dfe839a9b471c959054e97f5d9c3
parent24e4058fc8190137e8111da21fa3d27c784285b6 (diff)
defined a config
-rw-r--r--config.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/config.yml b/config.yml
new file mode 100644
index 0000000..2625849
--- /dev/null
+++ b/config.yml
@@ -0,0 +1,22 @@
+verbose:
+    # Display all logs until the given value (inclusive)
+    # 1 panic
+    # 2 fatal
+    # 3 error
+    # 4 warn 
+    # 5 info
+    # 6 debug
+    # 7 trace
+    level: 7
+
+server:
+    bindip: "0.0.0.0"
+    listenport: "8085"
+    domain: "localhost"
+    root: "/home/emile"
+
+time:
+    # use the format below for describing the individual values
+    # 
+    # Jan 2 15:04:05 2006 MST
+    format: "2006-01-02 03:04:05 MST"
\ No newline at end of file