appenddb

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

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

Go to latest
Published: Oct 20, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

README

image:https://travis-ci.com/kshramt/appenddb.svg?branch=master["Build Status", link="https://travis-ci.com/kshramt/appenddb"]

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppendDbV1

type AppendDbV1 struct {
	Path string
	// contains filtered or unexported fields
}

func NewV1

func NewV1(path string) (*AppendDbV1, error)

func (*AppendDbV1) Append

func (ad *AppendDbV1) Append(t string) error

func (*AppendDbV1) Close

func (ad *AppendDbV1) Close() error

func (*AppendDbV1) Get

func (ad *AppendDbV1) Get(i int64) (string, error)

func (*AppendDbV1) Len

func (ad *AppendDbV1) Len() (int64, error)

func (*AppendDbV1) Sync

func (ad *AppendDbV1) Sync() error

Jump to

Keyboard shortcuts

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