about summary refs log tree commit diff
path: root/src/structs/config.go
diff options
context:
space:
mode:
authorhanemile <mail@emile.space>2020-07-19 01:56:09 +0200
committerhanemile <mail@emile.space>2020-07-19 01:56:09 +0200
commitfc63adf55849f748a37cef4c425a19a1c0f0e76e (patch)
tree034c6ab3abb08fe15c702298f294226f1b0071c2 /src/structs/config.go
initial commit
Diffstat (limited to 'src/structs/config.go')
-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..ce70c4c
--- /dev/null
+++ b/src/structs/config.go
@@ -0,0 +1,12 @@
+package structs
+
+// Configuration bundles the indivudial configurations
+type Configuration struct {
+	HTTP HTTPConfig
+}
+
+// HTTPConfig defines an HTTP config
+type HTTPConfig struct {
+	BindIP string
+	Port   int
+}