From 808cd5f8b53e37d250e3842419db394a5319f453 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 15 Mar 2020 21:31:30 +0100 Subject: config --- src/structs/config.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/structs/config.go (limited to 'src/structs') 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 +} -- cgit 1.4.1