diff options
author | Katharina Fey <kookie@spacekookie.de> | 2018-05-08 14:38:02 +0200 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2018-05-08 14:38:02 +0200 |
commit | d18641e8374d05c663a1b001329a17d32660abf7 (patch) | |
tree | a7b8ae81ac54234a57fab16e33fc1c5f0823b0d1 /lockchain-http/src/lib.rs | |
parent | 73ff5fdf4d94ba244abeb3796ef16fe3f69157d7 (diff) |
Changing the way that vault traits work
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 |