summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-03-27 20:17:23 +0800
committerKeuin <[email protected]>2022-03-28 00:11:45 +0800
commitc4d5507e9c0b16b0d34df9e871be1d76d296ecea (patch)
treef4d6b7c3acdeff813ffbee104977bcff55227f15 /src/config.rs
parent3a5bafbc1e5fde298aacaf6f50edb8731983cd07 (diff)
Configurable HTTP listen endpoint.
Handle Ctrl-C correctly.
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index d32c525..c5d07a7 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -8,6 +8,7 @@ pub struct Config {
pub bot_token: String,
pub log_file: String,
pub db_file: String,
+ pub listen: String,
}
impl Config {