about summary refs log tree commit diff
path: root/src/structs
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-03-15 21:31:30 +0100
committerEmile <hanemile@protonmail.com>2020-03-15 21:31:30 +0100
commit808cd5f8b53e37d250e3842419db394a5319f453 (patch)
treee718fba4d359e8e1bc1c731a091ef6047c6dbeb0 /src/structs
parent9bf87ef4ceb8763f3f05872f1f4b5e9f6dc1f383 (diff)
config
Diffstat (limited to 'src/structs')
-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
+}