grpidx

package
v0.0.0-...-060dca9 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(s string, f func(s *Storage) (groupidx.GroupIndex, error))

func Serve

func Serve(cfg []byte) error

Parses a config file (or blob), loads the storage and runs.

storage groupdb {
	initial-mmap-size: 1<<20
	page-size: 1<<14
	table: groupdb
	location: 'F:/data/'
}
network {
	net: tcp
	addr: ':9999'
}

Types

type Storage

type Storage struct {
	Type         string           `inn:"$storage"`
	LogSizeFlush datatypes.Number `inn:"$log-size-flush"`
	Location     string           `inn:"$location"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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