about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/structs/config.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/structs/config.go b/src/structs/config.go
new file mode 100644
index 0000000..b94d090
--- /dev/null
+++ b/src/structs/config.go
@@ -0,0 +1,12 @@
+package structs
+
+// Configuration defines the overall configuration
+type Configuration struct {
+	HTTP HTTPConfig
+}
+
+// HTTPConfig describes the config used for controlling the http server
+type HTTPConfig struct {
+	BindIP string
+	Port   int
+}