simple

package
v0.0.0-...-6120cfb Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskManager

type DiskManager struct {
	disk.Options
	// contains filtered or unexported fields
}

func Default

func Default() *DiskManager

func New

func New(opts ...disk.Option) (*DiskManager, error)

func (*DiskManager) Open

func (m *DiskManager) Open(filename string, opts ...disk.Option) (err error)

func (DiskManager) ReadPage

func (m DiskManager) ReadPage(pageId uint64, p unsafe.Pointer) error

func (DiskManager) ShutDown

func (m DiskManager) ShutDown() (err error)

func (DiskManager) WritePage

func (m DiskManager) WritePage(pageId uint64, p unsafe.Pointer) (err error)

Jump to

Keyboard shortcuts

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