openethereum/parity/ipfs.rs

17 lines
301 B
Rust
Raw Normal View History

pub use parity_ipfs_api::start_server;
2017-02-16 14:41:33 +01:00
#[derive(Debug, PartialEq, Clone)]
pub struct Configuration {
pub enabled: bool,
pub port: u16,
}
impl Default for Configuration {
fn default() -> Self {
Configuration {
enabled: false,
port: 5001,
}
}
}