biovault 0.1.14

A bioinformatics data vault CLI tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod app;
pub mod endpoint;
pub mod rpc;
pub mod types;

pub use app::SyftBoxApp;
pub use endpoint::Endpoint;
pub use rpc::{check_requests, send_response};
pub use types::{RpcHeaders, RpcRequest, RpcResponse};

use anyhow::Result;
use std::path::Path;

/// Initialize a SyftBox app with the given name in the specified data directory
pub fn init_app(data_dir: &Path, email: &str, app_name: &str) -> Result<SyftBoxApp> {
    SyftBoxApp::new(data_dir, email, app_name)
}