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.
 
 
 
 
 
 
Anton Kaliaev 8a962ffc46
deps: update gogo/protobuf from 1.1.1 to 1.2.1 and golang/protobuf from 1.1.0 to 1.3.0 (#3357)
6 years ago
..
autofile rename WAL#Flush to WAL#FlushAndSync (#3345) 6 years ago
bech32 make linter happy 7 years ago
cli return back initially allowed level if we encounter allowed key (#2889) 6 years ago
clist rename TestGCRandom to _TestGCRandom 6 years ago
common deps: update gogo/protobuf from 1.1.1 to 1.2.1 and golang/protobuf from 1.1.0 to 1.3.0 (#3357) 6 years ago
db make gosec linter pass (#3294) 6 years ago
errors comment out until someone decides to tackle #2285 (#2760) 6 years ago
events preallocating memory when we can 6 years ago
fail WAL: better errors and new fail point (#3246) 6 years ago
flowrate update gometalinter to 3.0.0 (#3233) 6 years ago
log [log] fix year format (#3125) 6 years ago
pubsub fix dirty data in peerset,resolve #3304 (#3359) 6 years ago
test fix test folder mishap 7 years ago
version mv tmlibs files to libs dir 7 years ago
.editorconfig mv tmlibs files to libs dir 7 years ago
.gitignore mv tmlibs files to libs dir 7 years ago
CHANGELOG.md mv tmlibs files to libs dir 7 years ago
README.md mv tmlibs files to libs dir 7 years ago
circle.yml mv tmlibs files to libs dir 7 years ago
test.sh switch to golangci-lint from gometalinter 🚤 6 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.