diff options
author | Emile <hanemile@protonmail.com> | 2020-03-15 21:31:30 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-03-15 21:31:30 +0100 |
commit | 808cd5f8b53e37d250e3842419db394a5319f453 (patch) | |
tree | e718fba4d359e8e1bc1c731a091ef6047c6dbeb0 | |
parent | 9bf87ef4ceb8763f3f05872f1f4b5e9f6dc1f383 (diff) |
config
-rw-r--r-- | src/structs/config.go | 12 |
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 +} |