Marko aca94fd9a0 | 5 years ago | |
---|---|---|
.. | ||
autofile | 5 years ago | |
bech32 | 6 years ago | |
cli | 5 years ago | |
clist | 5 years ago | |
common | 5 years ago | |
events | 5 years ago | |
fail | 5 years ago | |
flowrate | 5 years ago | |
log | 5 years ago | |
pubsub | 5 years ago | |
test | 5 years ago | |
.editorconfig | 6 years ago | |
.gitignore | 6 years ago | |
CHANGELOG.md | 6 years ago | |
README.md | 5 years ago | |
test.sh | 6 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 linked list that is safe for concurrent access by many readers.
Common provides a hodgepodge of useful functions.
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.