Categorygithub.com/lab5e/gotoolbox
module
1.1.2
Repository: https://github.com/lab5e/gotoolbox.git
Documentation: pkg.go.dev

# README

Go toolbox

Various packages for Go projects. This is a mixed bag of functions and packages that are useful with no general theme.

We could name it utils but "toolbox" is a better description, this is a library with all the weird parts you find in a proper toolbox with customized screwdrivers, hacked-off box keys, welded-together contraptions and objects that make you think "oh, I can't imagine what this is for".

Some of these are gathered from the now-defunct ExploratoryEngineering organization.

Referenced libraries

  • The Kong library for parameters. This is used throughout the parameter structs.
  • gRPC
  • Logrus for logging
  • grpc-middleware for metrics interceptors
  • Prometheus golang client library (transient, through grpc-middleware)

# Packages

Package grpcutil contains nice-to-have gRPC client and server types to reduce the boilerplate a bit.
No description provided by the author
No description provided by the author
Package pubsub contains types for a channel-based publish/subscribe pattern that runs in a single process.
Package rest contains utilties for a RESTful service.
Package toolbox contains various nice-to-have functions and types such as log setup, formatting and so on.