cdb

package
v0.0.0-...-d4f9e80 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCDB

func CreateCDB(ipath string, opath string, options *CreatorOptions) (mw int, err error)

CreateCDB compiles CDB with native Go compiler

func CreateCDBFromReader

func CreateCDBFromReader(r io.Reader, db cdb.Writer, serial uint32, workers int) (nw int, err error)

CreateCDBFromReader compiles CDB with native Go compiler, reading data from io.ReadCloser

Types

type CreatorOptions

type CreatorOptions struct {
	NumCPU int
}

CreatorOptions provides options to create CDB

func NewDefaultCreatorOptions

func NewDefaultCreatorOptions() *CreatorOptions

NewDefaultCreatorOptions gives default options

Jump to

Keyboard shortcuts

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