index

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEntry

func NewEntry(indexes []Index) block.Entry

Types

type Index

type Index interface {
	StartOffset() int64
	EndOffset() int64
	Length() int32
	Stime() int64
}

func NewIndex

func NewIndex(offset int64, length int32, opts ...Option) Index

type Option

type Option func(*index)

func WithEntry

func WithEntry(entry block.Entry) Option

func WithStime

func WithStime(stime int64) Option

Directories

Path Synopsis
Package testing is a generated GoMock package.
Package testing is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL