package
Version:
v0.0.0-...-1e5e0da
Opens a new window with list of versions in this module.
Published: May 18, 2020
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Handler func(SeekStartIndex int64, SeekStart int64, SeekLast int)
Handler 存储回调
索引最终存储在文件中的起始位置
value最终存储在文件中的起始位置
value最终存储在文件中的持续长度
Storage 文件存储服务
Store 存储具体内容
databaseID 数据库唯一id
formID 表唯一id
key 唯一key
value 存储具体内容
valid 存储有效性,如无效则表示该记录不可用,即删除
writes 索引即将写入的参考坐标数组
return []*Written 返回完成索引写入后的结果数组
Take 取出具体内容
filePath 从该路径文件中读取
seekStart value最终存储在文件中的起始位置
seekLast value最终存储在文件中的持续长度
return Read 返回数据读取结果
Source Files
¶
Click to show internal directories.
Click to hide internal directories.