Versions in this module Expand all Collapse all v3 v3.0.1 Dec 26, 2023 Changes in this version type BinLogger + CheckFileExist func(fiIndex *storePb.StoreInfo) (bool, error) + DropOpenedFileCache func(path string) bool type MemBinlog + func (l *MemBinlog) CheckFileExist(fiIndex *storePb.StoreInfo) (bool, error) + func (l *MemBinlog) DropOpenedFileCache(_ string) bool v3.0.0 Dec 23, 2022 Changes in this version + type BinLogger interface + Close func() error + LastIndex func() (index uint64, err error) + ReadFileSection func(fiIndex *storePb.StoreInfo) ([]byte, error) + ReadLastSegSection func(index uint64) (data []byte, fileName string, offset, blkLen uint64, err error) + TruncateFront func(index uint64) error + Write func(index uint64, data []byte) (fileName string, offset, blkLen uint64, err error) + type MemBinlog struct + func NewMemBinlog(log protocol.Logger) *MemBinlog + func (l *MemBinlog) Close() error + func (l *MemBinlog) LastIndex() (uint64, error) + func (l *MemBinlog) ReadFileSection(fiIndex *storePb.StoreInfo) ([]byte, error) + func (l *MemBinlog) ReadLastSegSection(index uint64) ([]byte, string, uint64, uint64, error) + func (l *MemBinlog) TruncateFront(index uint64) error + func (l *MemBinlog) Write(index uint64, data []byte) (fileName string, offset, blkLen uint64, err error) Other modules containing this package chainmaker.org/chainmaker/store/v2