Documentation ¶
Overview ¶
Package tidwall encapsulates the WAL solution implemented by tidwall/wal
Index ¶
- type TWalLog
- func (twal *TWalLog) BWrite(datas [][]byte) error
- func (twal *TWalLog) Close() error
- func (twal *TWalLog) FirstIndex() (index uint64, err error)
- func (twal *TWalLog) LastIndex() (index uint64, err error)
- func (twal *TWalLog) Read(index uint64) ([]byte, error)
- func (twal *TWalLog) TruncateBack(id uint64) error
- func (twal *TWalLog) TruncateFront(id uint64) error
- func (twal *TWalLog) Write(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TWalLog ¶
func (*TWalLog) FirstIndex ¶
func (*TWalLog) TruncateBack ¶
func (*TWalLog) TruncateFront ¶
Click to show internal directories.
Click to hide internal directories.