summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/endpoint_config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/endpoint_config.rs b/src/config/endpoint_config.rs
index 2146910..2ce8d65 100644
--- a/src/config/endpoint_config.rs
+++ b/src/config/endpoint_config.rs
@@ -27,7 +27,9 @@ pub struct Endpoint {
#[derive(Clone, Debug, Deserialize, Eq, PartialEq)]
pub enum EndpointType {
+ #[serde(rename = "socket")]
Socket,
+ #[serde(rename = "http")]
Http,
}