Documentation ¶ Index ¶ type MMapSpan func New(mMaps []Mmap, index segments.Index) *MMapSpan func (ms *MMapSpan) Close() (err error) func (ms *MMapSpan) Flush() (err error) func (ms *MMapSpan) ReadAt(p []byte, off int64) (n int, err error) func (ms *MMapSpan) WriteAt(p []byte, off int64) (n int, err error) type Mmap Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type MMapSpan ¶ type MMapSpan struct { // contains filtered or unexported fields } func New ¶ func New(mMaps []Mmap, index segments.Index) *MMapSpan func (*MMapSpan) Close ¶ func (ms *MMapSpan) Close() (err error) func (*MMapSpan) Flush ¶ func (ms *MMapSpan) Flush() (err error) func (*MMapSpan) ReadAt ¶ func (ms *MMapSpan) ReadAt(p []byte, off int64) (n int, err error) func (*MMapSpan) WriteAt ¶ func (ms *MMapSpan) WriteAt(p []byte, off int64) (n int, err error) type Mmap ¶ type Mmap interface { Flush() error Unmap() error Bytes() []byte } Source Files ¶ View all Source files mmap-span.go Click to show internal directories. Click to hide internal directories.