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
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
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.
Package common is a generated protocol buffer package.
|Package common is a generated protocol buffer package.|
Pub-Sub in go with event caching
|Pub-Sub in go with event caching|
Package flowrate provides the tools for monitoring and limiting the flow rate of an arbitrary data stream.
|Package flowrate provides the tools for monitoring and limiting the flow rate of an arbitrary data stream.|
Package pubsub implements a pub-sub model with a single publisher (Server) and multiple subscribers (clients).
|Package pubsub implements a pub-sub model with a single publisher (Server) and multiple subscribers (clients).|
Package query provides a parser for a custom query format: abci.invoice.number=22 AND abci.invoice.owner=Ivan See query.peg for the grammar, which is a https://en.wikipedia.org/wiki/Parsing_expression_grammar.
|Package query provides a parser for a custom query format: abci.invoice.number=22 AND abci.invoice.owner=Ivan See query.peg for the grammar, which is a https://en.wikipedia.org/wiki/Parsing_expression_grammar.|