文件名称:文件存储服务
文件大小:19KB
文件格式:ZIP
更新时间:2024-07-18 12:21:48
hashfs
哈希文件文件存储服务如何使用它?在终端启动服务# You can specify the storage root path and access domain when you start up the service# RUST_LOG=info cargo run STORAGE_ROOT=./data ACCESS_DOMAIN=your_domain $ RUST_LOG=info cargo run Finished dev [unoptimized + debuginfo] target(s)in 0.12s Running` target/debug/hashfs` [2021-01-03 16:11:02.194605 +08:00 INFO hashfs line:183] Storage init done! [2021-01-03 16:11:02.195465 +08:00 INFO hashfs line:214] Server is running!您可以使用 curl 命令上传文件$ dd if=/dev/random of=test.
【文件预览】:
hashfs-main
----Cargo.toml(543B)
----Cargo.lock(31KB)
----src()
--------main.rs(7KB)
----LICENSE(18KB)
----README.md(984B)
----.gitignore(8B)