Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileCache ¶
type FileCache struct {
// contains filtered or unexported fields
}
func NewFileCache ¶
func (*FileCache) Read ¶
func (c *FileCache) Read(begin int64, end int64) []*common_interfaces.ItemValue
func (*FileCache) Write ¶
func (c *FileCache) Write(item *common_interfaces.ItemValue)
type FlushResult ¶
type History ¶
type History struct {
// contains filtered or unexported fields
}
func NewHistory ¶
func NewHistory() *History
func (*History) RemoveItem ¶ added in v1.0.6
type Item ¶
type Item struct {
// contains filtered or unexported fields
}
func (*Item) CheckDepth ¶
func (c *Item) CheckDepth()
func (*Item) FinishFlush ¶
func (c *Item) FinishFlush()
func (*Item) Flush ¶
func (c *Item) Flush() FlushResult
func (*Item) Write ¶
func (c *Item) Write(value common_interfaces.ItemValue)
type ReadResult ¶
type ReadResult struct { Id uint64 `json:"id"` DTBegin int64 `json:"dt_begin"` DTEnd int64 `json:"dt_end"` Items []*common_interfaces.ItemValue `json:"items"` }
Click to show internal directories.
Click to hide internal directories.