kart

command module
v0.0.0-...-1fd1036 Latest Latest
Warning

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

Go to latest
Published: May 17, 2019 License: MIT Imports: 10 Imported by: 0

README

Kart

Kart 是一个文件存储系统

存储结构

存储结构

工作流程

  1. 启动时,加载已有的索引文件
  2. 添加文件时,保存文件并添加索引
  3. 索引完全载入内存

API

  1. 上传文件
  2. 通过 ID 获取文件
  3. 获取文件列表

Todo

  1. 图片压缩
  2. 不再默认创建多个 Block,不够时再去创建
  3. 支持文件夹?每个文件都属于一个文件夹,如果未指定则属于 default 文件夹。文件夹与用户关联。权限控制在文件夹这一层做。
  4. 分布式存储?

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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