kfs

command module
v0.0.0-...-f591335 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2018 License: MIT Imports: 2 Imported by: 0

README

kfs

类似于ipfs的去中心化的文件存储系统,带有缓存优化,外网穿透

kfs config

配置文件

kfs daemon

后台运行程序

kfs add file

添加一个文件到kfs中

kfs ls -n 10

列出所有的文件名称以及hash

kfs metadata file_hash

查看该文件的本地的所有的metadata

kfs get file_hash

得到该文件 查询方式有dht和cache两种方式 数据接收为被动

kfs pin file_hash

把该文件固定到本地中 该命令会在本文件下载完毕之后然后把本节点地址以及文件地址发布到去中心化的cache中

pin的内容在自己的内容库 cache的内容在cache库 只是对metadata的操作

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
server
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL