gokit

module
v0.0.0-...-319c1c7 Latest Latest
Warning

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

Go to latest
Published: May 14, 2015 License: MIT

README

gokit Circle CI Drone.io Travis CI GoDoc

Gokit is a distributed programming toolkit for microservices in the modern enterprise.

Motivation

See the motivating blog post and the video of the talk.

Goals

  • Operate in a heterogeneous SOA — expect to interact with mostly non-gokit services
  • RPC as the messaging pattern
  • Pluggable serialization and transport — not just JSON over HTTP
  • Zipkin-compatible request tracing

Non-goals

  • Supporting messaging patterns other than RPC — pub/sub, CQRS, etc.
  • Having opinions on deployment, orchestration, process supervision, etc.
  • Having opinions on configuration passing, i.e. flags, env vars, files, etc.

Component status

Contributing

At this stage, we're still developing the initial drafts of all of the packages, using an RFC workflow. Before submitting major changes, please write to the mailing list to register your interest, and check the open issues and pull requests for existing discussions.

Dependency management

Users who import gokit into their package main are responsible to organize and maintain all of their dependencies to ensure code compatibility and build reproducibility. Gokit makes no direct use of dependency management tools like Godep.

We will use a variety of continuous integration providers to find and fix compatibility problems as soon as they occur.

API stability policy

The gokit project depends on code maintained by others. This includes the Go standard library and sub-repositories and other external libraries. The Go language and standard library provide stability guarantees, but the other external libraries typically do not. The API Stability RFC proposes a standard policy for package authors to advertise API stability. The go-kit project prefers to depend on code that abides the API stability policy.

Projects with a ★ have had particular influence on gokit's design.

Service frameworks
  • go-micro, a microservices client/server library ★
  • gocircuit, dynamic cloud orchestration
  • gotalk, async peer communication protocol & library
  • Kite, a micro-service framework
Individual components
Web frameworks

Additional reading

Directories

Path Synopsis
pb
Package pb is a generated protocol buffer package.
Package pb is a generated protocol buffer package.
Package log provides basic interfaces for structured logging.
Package log provides basic interfaces for structured logging.
Package metrics provides an extensible framework to instrument your application.
Package metrics provides an extensible framework to instrument your application.
expvar
Package expvar implements an expvar backend for package metrics.
Package expvar implements an expvar backend for package metrics.
prometheus
Package prometheus implements a Prometheus backend for package metrics.
Package prometheus implements a Prometheus backend for package metrics.
statsd
Package statsd implements a statsd backend for package metrics.
Package statsd implements a statsd backend for package metrics.
teststat
Package teststat contains helper functions for statistical testing of metrics implementations.
Package teststat contains helper functions for statistical testing of metrics implementations.
tracing
transport

Jump to

Keyboard shortcuts

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