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.
 
 
 
 
 
 
Marko 95530285d9 rc2/v0.32.8 (#4101) 5 years ago
..
autofile gocritic (2/2) (#3864) 5 years ago
bech32 make linter happy 6 years ago
cli Fix linter errors thrown by `lll` (#3970) 5 years ago
clist bandaid for non-deterministic clist test (#3575) 6 years ago
common Fix linter errors thrown by `lll` (#3970) 5 years ago
events linters: modify code to pass maligned and interfacer (#3959) 5 years ago
fail libs/fail: clean up `fail.go` (#3785) 5 years ago
flowrate New lint version upgrade (#4056) 5 years ago
log Fix linter errors thrown by `lll` (#3970) 5 years ago
pubsub rc2/v0.32.8 (#4101) 5 years ago
test libs: minor cleanup (#3794) 5 years ago
.editorconfig mv tmlibs files to libs dir 6 years ago
.gitignore mv tmlibs files to libs dir 6 years ago
CHANGELOG.md mv tmlibs files to libs dir 6 years ago
README.md Update README.md (#4094) 5 years ago
test.sh rpc/lib: write a test for TLS server (#3703) 5 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 linked list that is safe for concurrent access by many readers.

common

Common provides a hodgepodge of useful functions.

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.