diff options
Diffstat (limited to 'lockchain-http/src/lib.rs')
-rw-r--r-- | lockchain-http/src/lib.rs | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/lockchain-http/src/lib.rs b/lockchain-http/src/lib.rs index cd81597..b159345 100644 --- a/lockchain-http/src/lib.rs +++ b/lockchain-http/src/lib.rs @@ -8,6 +8,20 @@ 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 { - BasicIo + /// 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, }
\ No newline at end of file |