Skip to content

Commit cae037b

Browse files
Add config
1 parent e94d9a1 commit cae037b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/config.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ impl Default for FlightSQLClientConfig {
124124
}
125125
}
126126

127+
#[cfg(feature = "http")]
128+
#[derive(Clone, Debug, Default, Deserialize)]
129+
pub struct HttpServerConfig {}
130+
127131
#[derive(Clone, Debug, Default, Deserialize)]
128132
pub struct AppConfig {
129133
#[serde(default)]
@@ -138,6 +142,9 @@ pub struct AppConfig {
138142
#[cfg(feature = "flightsql")]
139143
#[serde(default)]
140144
pub flightsql_server: FlightSQLServerConfig,
145+
#[cfg(feature = "http")]
146+
#[serde(default)]
147+
pub http_server: HttpServerConfig,
141148
}
142149

143150
fn default_execution_config() -> ExecutionConfig {

0 commit comments

Comments
 (0)