rcf

package module
v0.0.0-...-c549a81 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

README

rcf

rcfile-inspired data storage format

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Err

type Err struct {
	Pkg  string
	Info string
	Err  error
}

func (*Err) Error

func (e *Err) Error() string

type File

type File struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(path string, colSetsFn func(int) interface{}) (*File, error)

func (*File) Append

func (f *File) Append(rows, meta interface{}) error

func (*File) Close

func (f *File) Close() error

func (*File) Iter

func (f *File) Iter(cols []string, cb func(columns ...interface{}) bool) error

func (*File) IterAll

func (f *File) IterAll(metaTarget interface{}, columnsTarget interface{}, cb func() bool) error

func (*File) IterMetas

func (f *File) IterMetas(fn interface{}) error

func (*File) Sync

func (f *File) Sync() error

Jump to

Keyboard shortcuts

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