From fc63adf55849f748a37cef4c425a19a1c0f0e76e Mon Sep 17 00:00:00 2001 From: hanemile Date: Sun, 19 Jul 2020 01:56:09 +0200 Subject: initial commit --- 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