Support different backends
Opened this issue · 0 comments
bennyz commented
Currently the server only works with simple paths, and probably only with files on a file system. To make this more robust, the concept of a Backend needs to be introduced. For example, there will be the simple file system Backend which will expose files, a memory Backend for exposing bytes directly from memory and more. This will likely be a trait, with methods like read_at
and block_status
.