go-utils

module
v0.0.0-...-aa2a11b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2019 License: MIT

README

The Things Network Utilities for Go

Build Status

Utilities

  • backoff: backoff algorithm extracted from github.com/grpc/grpc-go
  • encoding: encoding and decoding between a struct and map[string]string
  • grpc/interceptor: gRPC interceptor that logs RPCs
  • grpc/restartstream: gRPC interceptor that restart streams when the underlying connection breaks and restores
  • handlers/cli: CLI logger for github.com/apex/log
  • handlers/elasticsearch: Elasticsearch logger for github.com/apex/log
  • log: log wrapper
  • random and pseudorandom: wrappers for (pseudo)random functions
  • queue: implementations of queues and schedules
  • rate: rate counting and rate limiting
  • roots: CA Root certificates that are used when the OS doesn't supply them

License

Source code is released under the MIT License, which can be found in the LICENSE file. A list of authors can be found in the AUTHORS file.

Directories

Path Synopsis
Package backoff is a slightly changed version of the backoff algorithm that comes with gRPC See https://github.com/grpc/grpc-go/blob/master/LICENSE for the license
Package backoff is a slightly changed version of the backoff algorithm that comes with gRPC See https://github.com/grpc/grpc-go/blob/master/LICENSE for the license
Package encoding is responsible for encoding and decoding of structs.
Package encoding is responsible for encoding and decoding of structs.
Package errors implements a common interface for errors to be communicated within and between components of a multi-service architecture.
Package errors implements a common interface for errors to be communicated within and between components of a multi-service architecture.
grpc
internal/test
Package test is a generated protocol buffer package.
Package test is a generated protocol buffer package.
streambuffer
Package streambuffer implements a buffered streaming RPC that drops the oldest messages on buffer overflow.
Package streambuffer implements a buffered streaming RPC that drops the oldest messages on buffer overflow.
handlers
cli
log
Package queue implements different kinds of queues
Package queue implements different kinds of queues
Package rate implements rate counting and rate limiting.
Package rate implements rate counting and rate limiting.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL