persistlist

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 6 Imported by: 0

README

persist list

go test
go test -bench="BenchmarkAPush"
go test -bench="BenchmarkBPop"

Documentation

Overview

persist list

Index

Constants

View Source
const (
	DEFAULT_KEYNAME = "_perist_chan"
)

Variables

View Source
var ErrNil = errors.New("empty")

Functions

This section is empty.

Types

type PersistList

type PersistList interface {
	Pop(v interface{}) error
	Push(v interface{}) (int64, error)
	Len() (int64, error)
	Close()
}

func NewNodbList

func NewNodbList(indexDir, keyname string) (PersistList, error)

Jump to

Keyboard shortcuts

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