1
0
mirror of https://github.com/go-kit/kit.git synced 2024-11-21 17:06:36 +02:00
A standard library for microservices.
Go to file
Alexandre GUIOT--VALENTIN 78fbbceece
Add goakit to Code generators (#1287)
`goakit` is a plugin for [Goa](https://github.com/goadesign/goa) that generates go-kit services and clients from Goa design packages.
2024-03-13 14:42:15 +01:00
.github ci: add go 1.19 2022-08-02 21:03:01 +03:00
auth Merge pull request #1168 from sagikazarmark/resubmit-1064 2021-08-19 23:17:10 +02:00
circuitbreaker Use stdlib context instead of golang.org/x/net/context 2017-02-03 17:47:35 -08:00
endpoint cleaned up code formatting and some doc comments per PR review 2018-06-18 08:39:54 +02:00
examples relocate examples to a separate repository 2021-06-19 13:07:32 +02:00
log Replace kit/log with log (#1173) 2021-08-18 17:15:32 +02:00
metrics Refactor metrics/cloudwatch (#1202) 2021-11-23 19:14:48 +01:00
ratelimit Remove dependency on juju 2017-10-09 15:22:56 -07:00
sd Fixed instancer logic for Consul (#1215) 2022-03-15 21:38:00 +01:00
tracing Replace kit/log with log (#1173) 2021-08-18 17:15:32 +02:00
transport feat(http): make interceptingWriter reimplement common interfaces from stdlib. (#1212) 2022-01-31 16:37:13 +01:00
util Replace kit/log with log (#1173) 2021-08-18 17:15:32 +02:00
.gitignore remove examples from gitignore 2021-07-02 16:52:35 +02:00
codecov.yml codecov.yml: I guess this is actually the correct name 2020-03-08 23:24:00 +01:00
CONTRIBUTING.md CONTRIBUTING: update 2016-08-23 15:46:47 +02:00
docker-compose-integration.yml chore: use primary container registry for etcd 2021-06-16 03:56:31 +02:00
go.mod Update github.com/hashicorp/serf and github.com/hashicorp/consul/api (#1250) 2022-08-26 02:50:32 +02:00
go.sum Update github.com/hashicorp/serf and github.com/hashicorp/consul/api (#1250) 2022-08-26 02:50:32 +02:00
LICENSE Initial commit 2015-02-03 01:01:19 +01:00
lint lint: place here in preparation 2016-06-07 20:17:45 +02:00
README.md Add goakit to Code generators (#1287) 2024-03-13 14:42:15 +01:00

Go kit

GitHub Workflow Status GoDev codecov Go Report Card Sourcegraph

Go kit is a programming toolkit for building microservices (or elegant monoliths) in Go. We solve common problems in distributed systems and application architecture so you can focus on delivering business value.

Sponsors


Click here or Sponsor, above, for more information on sponsorship.

Motivation

Go has emerged as the language of the server, but it remains underrepresented in so-called "modern enterprise" companies like Facebook, Twitter, Netflix, and SoundCloud. Many of these organizations have turned to JVM-based stacks for their business logic, owing in large part to libraries and ecosystems that directly support their microservice architectures.

To reach its next level of success, Go needs more than simple primitives and idioms. It needs a comprehensive toolkit, for coherent distributed programming in the large. Go kit is a set of packages and best practices, which provide a comprehensive, robust, and trustable way of building microservices for organizations of any size.

For more details, see the website, the motivating blog post and the video of the talk. See also the Go kit talk at GopherCon 2015.

Goals

  • Operate in a heterogeneous SOA — expect to interact with mostly non-Go-kit services
  • RPC as the primary messaging pattern
  • Pluggable serialization and transport — not just JSON over HTTP
  • Operate within existing infrastructures — no mandates for specific tools or technologies

Non-goals

  • Supporting messaging patterns other than RPC (for now) — e.g. MPI, pub/sub, CQRS, etc.
  • Re-implementing functionality that can be provided by adapting existing software
  • Having opinions on operational concerns: deployment, configuration, process supervision, orchestration, etc.

Contributing

Please see CONTRIBUTING.md. Thank you, contributors!

Dependency management

Go kit is modules aware, and we encourage users to use the standard modules tooling. But Go kit is at major version 0, so it should be compatible with non-modules environments.

Code generators

There are several third-party tools that can generate Go kit code based on different starting assumptions.

Projects with a ★ have had particular influence on Go kit's design (or vice-versa).

Service frameworks

  • gizmo, a microservice toolkit from The New York Times ★
  • go-micro, a distributed systems development framework ★
  • gotalk, async peer communication protocol & library
  • Kite, a micro-service framework
  • gocircuit, dynamic cloud orchestration

Individual components

Web frameworks

Additional reading