Categorygithub.com/levenlabs/golib
modulepackage
0.0.0-20180911183212-0f8974794783
Repository: https://github.com/levenlabs/golib.git
Documentation: pkg.go.dev

# README

golib

GoDoc

A set of packages containing utility types and functions we find ourselves using frequently. Each sub-package has a package doc explaining what it's for.

# Packages

Package genapi implements a generic skeleton we can use as the basis for an api service.
Package mgoutil provides various methods for working with the mgo.v2 package, implementing various oft-used behaviors.
Package proxyutil implements helper types and functions for proxying (generally non-rpc) http requests to/from backing services.
Package radixutil provides various methods for working with the radix.v2 package, implenting various oft-used behaviors.
Package ratelimiter implements generic rate-limiting algorithms.
Package rpcutil provides various methods for working with gorilla's JSON RPC 2 interface (http://www.gorillatoolkit.org/pkg/rpc/v2/json2).
Package testutil provides various methods which we commonly use when writing tests.
Package timeutil contains functions and types which aid in dealing with time.