From 50500b9e8eb0b891f598e66801f5dcca55d1186e Mon Sep 17 00:00:00 2001 From: hanemile Date: Sun, 19 Jul 2020 13:15:31 +0200 Subject: src update --- src/structs/config.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/structs/config.go (limited to 'src/structs/config.go') 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 +} -- cgit 1.4.1