blob: b1593454316fe8484dd9be61e3839ed930c5cc27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
//! A plug and play http interface layer for various lockchain components
extern crate gotham_serde_json_body_parser as goth_json;
extern crate gotham;
/// Contains API internal state and metadata
pub struct Server {
}
impl Server {
}
/// An enum that represents optional features. At least
/// one flag needs to be provided to initialise [[Server]]
/// in order to make a working lockchain-http interface.
pub enum ApiFeature {
/// Basic functionality for record I/O
Base,
/// Enables user access management
Users,
/// Allows management of user identities
UserManagement,
/// Allows management of filestorage scopes & loading
VaultManagement,
}
|