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.

49 lines
1.3 KiB

7 years ago
7 years ago
  1. # TMLIBS
  2. This repo is a home for various small packages.
  3. ## autofile
  4. Autofile is file access with automatic log rotation. A group of files is maintained and rotation happens
  5. when the leading file gets too big. Provides a reader for reading from the file group.
  6. ## cli
  7. 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.
  8. ## clist
  9. Clist provides a linked list that is safe for concurrent access by many readers.
  10. ## common
  11. Common provides a hodgepodge of useful functions.
  12. ## db
  13. DB provides a database interface and a number of implementions, including ones using an in-memory map, the filesystem directory structure,
  14. an implemention of LevelDB in Go, and the official LevelDB in C.
  15. ## events
  16. Events is a synchronous PubSub package.
  17. ## flowrate
  18. Flowrate is a fork of https://github.com/mxk/go-flowrate that added a `SetREMA` method.
  19. ## log
  20. Log is a log package structured around key-value pairs that allows logging level to be set differently for different keys.
  21. ## merkle
  22. Merkle provides a simple static merkle tree and corresponding proofs.
  23. ## process
  24. Process is a simple utility for spawning OS processes.
  25. ## pubsub
  26. PubSub is an asynchronous PubSub package.