You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Ethan Buchman f27c358a8a revert protobuf recompile 7 years ago
autofile Change defaults to 100M and 10G respectively 7 years ago
cli Return config parse errors (#182) 7 years ago
clist Fix lint errors (#190) 7 years ago
common [common] Add ASCIITrim 7 years ago
db revert protobuf recompile 7 years ago
events Fix lint errors (#190) 7 years ago
flowrate Implement NewPrefixDB (#164) 7 years ago
log Merge pull request #77 from tendermint/18-unsupported-value-type 7 years ago
merkle expose KVPair 7 years ago
pubsub Use an interface for tags. (#195) 7 years ago
test Fix lint errors (#190) 7 years ago
version changelog and version 7 years ago
.editorconfig add .editorconfig 7 years ago
.gitignore CacheDB (#67) 7 years ago
CHANGELOG.md mv remotedb, proto, grpcdb all under db/remotedb 7 years ago
CODEOWNERS add codeowners file [ci skip] 7 years ago
Gopkg.lock CI fix 7 years ago
Gopkg.toml Switch to dep from glide (#155) 7 years ago
LICENSE update license and changelog 7 years ago
Makefile mv remotedb, proto, grpcdb all under db/remotedb 7 years ago
README.md logger is deprecated, removed; closes #115 7 years ago
circle.yml circle 7 years ago
glide.lock Fix RepeatTimer memory leak (#137) 7 years ago
glide.yaml Fix RepeatTimer memory leak (#137) 7 years ago
merge.sh go-common -> tmlibs 8 years ago
test.sh CI fix 7 years ago

README.md

TMLIBS

This repo is a home for various small packages.

autofile

Autofile is file access with automatic log rotation. A group of files is maintained and rotation happens when the leading file gets too big. Provides a reader for reading from the file group.

cli

CLI wraps the cobra and viper packages and handles some common elements of building a CLI like flags and env vars for the home directory and the logger.

clist

Clist provides a linekd list that is safe for concurrent access by many readers.

common

Common provides a hodgepodge of useful functions.

db

DB provides a database interface and a number of implementions, including ones using an in-memory map, the filesystem directory structure, an implemention of LevelDB in Go, and the official LevelDB in C.

events

Events is a synchronous PubSub package.

flowrate

Flowrate is a fork of https://github.com/mxk/go-flowrate that added a SetREMA method.

log

Log is a log package structured around key-value pairs that allows logging level to be set differently for different keys.

merkle

Merkle provides a simple static merkle tree and corresponding proofs.

process

Process is a simple utility for spawning OS processes.

pubsub

PubSub is an asynchronous PubSub package.