-
-
Notifications
You must be signed in to change notification settings - Fork 612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage: Quick example regarding piece backend #58
Comments
Do you need more on this? |
I would like to know what kind of backend is the http one?, is something that you custom made or an already open solution, also it would be awesome if you could update the example to be used with the latest version of the api. Thank you! |
It's a custom HTTP based protocol I made that lets you do simple file manipulation using PUT, GET, DELETE, PATCH with HTTP range requests. The storage backend has changed quite a bit since this issue was first opened. Do you specifically need an example with HTTP or do you just want to write your own piece-based storage backend? |
I want to write a custom piece backend, and I need a small example |
Take a look at one of the in ./storage. There's file, mmap, pieceBased, and bolt backends now. The bolt one is probably pretty good for an all-in-one implementation. |
Hi, can you give me a quick example on how the piece data backend should work?
The text was updated successfully, but these errors were encountered: