Anton Kaliaev d94e312673 | 7 years ago | |
---|---|---|
autofile | 7 years ago | |
cli | 7 years ago | |
clist | 7 years ago | |
common | 7 years ago | |
db | 7 years ago | |
events | 7 years ago | |
flowrate | 7 years ago | |
log | 7 years ago | |
merkle | 7 years ago | |
pubsub | 7 years ago | |
test | 7 years ago | |
version | 7 years ago | |
.editorconfig | 7 years ago | |
.gitignore | 7 years ago | |
CHANGELOG.md | 7 years ago | |
CODEOWNERS | 7 years ago | |
Gopkg.lock | 7 years ago | |
Gopkg.toml | 7 years ago | |
LICENSE | 7 years ago | |
Makefile | 7 years ago | |
README.md | 7 years ago | |
circle.yml | 7 years ago | |
glide.lock | 7 years ago | |
glide.yaml | 7 years ago | |
merge.sh | 8 years ago | |
test.sh | 7 years ago |
This repo is a home for various small packages.
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 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 provides a linekd list that is safe for concurrent access by many readers.
Common provides a hodgepodge of useful functions.
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 is a synchronous PubSub package.
Flowrate is a fork of https://github.com/mxk/go-flowrate that added a SetREMA
method.
Log is a log package structured around key-value pairs that allows logging level to be set differently for different keys.
Merkle provides a simple static merkle tree and corresponding proofs.
Process is a simple utility for spawning OS processes.
PubSub is an asynchronous PubSub package.