Documentation ¶
Index ¶
- type Block
- type BlockMeta
- type BlockNo
- type Blocks
- func (bs *Blocks) Close()
- func (bs *Blocks) Entries(offset uint64, length uint64) (entries EntryList, err error)
- func (bs *Blocks) Id() (id string)
- func (bs *Blocks) Read(blockNo uint64) (entry *Entry, has bool, err error)
- func (bs *Blocks) Tail(ctx context.Context, offset uint64, interval time.Duration) (entries <-chan EntryList, errors <-chan error, stop func(), err error)
- func (bs *Blocks) UpdateCacheSize(size uint64)
- func (bs *Blocks) Write(p []byte) (entryBeginBlockNo uint64, entryEndBlockNo uint64, err error)
- type BlocksOpenOptions
- type Entry
- type EntryList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blocks ¶
type Blocks struct {
// contains filtered or unexported fields
}
func OpenBlocks ¶
func OpenBlocks(options BlocksOpenOptions) (bs *Blocks, err error)
func (*Blocks) UpdateCacheSize ¶
type BlocksOpenOptions ¶
Click to show internal directories.
Click to hide internal directories.