All Projects → remind101 → Pkg

remind101 / Pkg

Licence: bsd-2-clause
A layer of convenience over the Go stdlib

Programming Languages

go
31211 projects - #10 most used programming language

remind101/pkg CircleCI GoDoc

package pkg is a collection of Go packages that provide a layer of convenience over the stdlib.

Packages

client

Helps build http clients with standard functionality such as error handling, tracing, timeouts, request signatures, json encoding and decoding, etc.

counting

Implements an a linear-time counting algorithm, also known as "linear counting".

httpmock

A simple mock server implementation, useful for mocking external services in tests.

httpx

Defines the httpx.Handler interface, an httpx.Handler router, and a variety of middleware.

logger

Defines a context aware structured leveled logger.

metrics

Defines an interface for metrics, with an implementation for Datadog.

reporter

Defines an interface for error reporting, with implementations for honeybadger, newrelic, and rollbar.

retry

Provides the ability to retry a function call with exponential backoff and notification hooks.

stream

Provides types that make it easier to perform streaming IO.

svc

Provides tooling that integrates with all of the above packages to build http servers with logging, distributed tracing, error reporting and metrics out of the box.

timex

Use instead of time.Now to allow easy stubbing in tests.

profiling

Lightweight convenience stuff around pprof and Google Cloud Profiler for visibility into all our apps.

Usage

For examples of usage, see the example directory.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].