diff options
author | metamuffin <metamuffin@disroot.org> | 2023-02-12 00:04:40 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-02-12 00:04:40 +0100 |
commit | 7bbc6e3f1b0af552d04d331699e192d8fe3fffc0 (patch) | |
tree | 406c6b29201a865366e74cd5133303af83afe694 /src/config.rs | |
parent | 1284ac8ac8ab0797b908fd9cc8db8b682bc4373f (diff) | |
download | gnix-7bbc6e3f1b0af552d04d331699e192d8fe3fffc0.tar gnix-7bbc6e3f1b0af552d04d331699e192d8fe3fffc0.tar.bz2 gnix-7bbc6e3f1b0af552d04d331699e192d8fe3fffc0.tar.zst |
blub
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs index 527e159..6fc01d8 100644 --- a/src/config.rs +++ b/src/config.rs @@ -23,7 +23,9 @@ pub struct HttpsConfig { } #[derive(Debug, Serialize, Deserialize)] -pub struct HostConfig {} +pub struct HostConfig { + pub backend: SocketAddr, +} impl Config { pub fn load() -> anyhow::Result<Config> { |