Go to file
Ethan Buchman a86b1d8f75
Merge pull request #171 from tendermint/feature/xla-writefileatomic
Simplify WriteFileAtomic
2018-03-21 05:04:14 +01:00
autofile
cli cli: WriteDemoConfig -> WriteConfigVals 2018-02-02 23:05:28 -05:00
clist add waitCh as an alternative to waitGroup 2018-02-05 11:36:36 +04:00
common Merge pull request #171 from tendermint/feature/xla-writefileatomic 2018-03-21 05:04:14 +01:00
db Implement DebugDB (#166) 2018-03-18 01:52:28 +01:00
events encodeByteSlice uses uvarint for length instead of varint (#161) 2018-03-12 09:46:31 +04:00
flowrate Implement NewPrefixDB (#164) 2018-03-15 09:43:23 -07:00
log
merkle Implement DebugDB (#166) 2018-03-18 01:52:28 +01:00
pubsub pubsub implements service.OnReset (#156) 2018-03-06 11:29:18 +04:00
test
version version bump and changelog 2018-02-19 17:05:36 -05:00
.editorconfig
.gitignore
CHANGELOG.md changelog date 2018-02-20 22:00:20 -05:00
CODEOWNERS
Gopkg.lock Switch to dep from glide (#155) 2018-02-27 16:01:49 +04:00
Gopkg.toml Switch to dep from glide (#155) 2018-02-27 16:01:49 +04:00
LICENSE
Makefile Switch to dep from glide (#155) 2018-02-27 16:01:49 +04:00
README.md
circle.yml
glide.lock Fix RepeatTimer memory leak (#137) 2018-02-09 13:31:32 +04:00
glide.yaml Fix RepeatTimer memory leak (#137) 2018-02-09 13:31:32 +04:00
merge.sh
test.sh

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.