Documentation
¶
Overview ¶
package
Index ¶
Constants ¶
View Source
const StorageFileDb = "storage_file_db"
StorageFileDb
Variables ¶
View Source
var BlockDB = "block_db"
BlockDB
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { ID string Md5 string CreatedTime time.Time Size int64 Path string Content []byte }
k: md5
type File ¶
type File struct { ID string FileMeta Name string Status bool Path string BlockMd5 []string BlockStatus []bool CreatedTime int64 }
File
Click to show internal directories.
Click to hide internal directories.