{"id":13412574,"url":"https://github.com/go-kit/kit","last_synced_at":"2025-05-12T16:14:55.658Z","repository":{"id":26757761,"uuid":"30215630","full_name":"go-kit/kit","owner":"go-kit","description":"A standard library for microservices.","archived":false,"fork":false,"pushed_at":"2024-07-19T01:40:06.000Z","size":7390,"stargazers_count":27000,"open_issues_count":57,"forks_count":2461,"subscribers_count":674,"default_branch":"master","last_synced_at":"2025-05-05T14:11:01.644Z","etag":null,"topics":["go","golang","metallica","microservices"],"latest_commit_sha":null,"homepage":"https://gokit.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/go-kit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["peterbourgon"]}},"created_at":"2015-02-03T00:01:19.000Z","updated_at":"2025-05-05T05:19:04.000Z","dependencies_parsed_at":"2022-07-12T15:50:54.087Z","dependency_job_id":"f10f58cd-b8fe-4805-aab9-204a7b137353","html_url":"https://github.com/go-kit/kit","commit_stats":{"total_commits":1174,"total_committers":238,"mean_commits":4.932773109243698,"dds":0.6090289608177172,"last_synced_commit":"78fbbceece7bbcf073bee814a7772f4397ea756c"},"previous_names":["go-kit/gokit","peterbourgon/gokit"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-kit%2Fkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-kit%2Fkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-kit%2Fkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-kit%2Fkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-kit","download_url":"https://codeload.github.com/go-kit/kit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253774582,"owners_count":21962199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","metallica","microservices"],"created_at":"2024-07-30T20:01:26.329Z","updated_at":"2025-05-12T16:14:55.612Z","avatar_url":"https://github.com/go-kit.png","language":"Go","funding_links":["https://github.com/sponsors/peterbourgon"],"categories":["Popular","Go","开源类库","Misc","Distributed Systems","Go (134)","Micro services frameworks","Open source library","Go Tools and Frameworks","Service Toolkits","RPC or MicroService","Uncategorized","Go Tools","语言资源库","其他__大数据","go-kit","golang","分布式系统","分布式系统框架","\u003cspan id=\"分布式系统-distributed-systems\"\u003e分布式系统 Distributed Systems\u003c/span\u003e","Tools","武器库","go","Relational Databases","💻 项目实战","Web Frameworks","API and RPC"],"sub_categories":["微服务","Advanced Console UIs","Microservices","Go","Uncategorized","Interfaces","go","网络服务_其他","Search and Analytic Databases","检索及分析资料库","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","E-Books","Mesh networks","JavaScript Libraries for Machine Learning","后端","SQL 查询语句构建库","💾 Redis","Advanced and Specialized Tools"],"readme":"# Go kit\n\n![GitHub Workflow Status](https://github.com/go-kit/kit/workflows/CI/badge.svg)\n[![GoDev](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go\u0026logoColor=white\u0026style=flat-square)](https://pkg.go.dev/github.com/go-kit/kit?tab=doc)\n[![codecov](https://codecov.io/gh/go-kit/kit/branch/master/graph/badge.svg)](https://codecov.io/gh/go-kit/kit)\n[![Go Report Card](https://goreportcard.com/badge/go-kit/kit)](https://goreportcard.com/report/go-kit/kit)\n[![Sourcegraph](https://sourcegraph.com/github.com/go-kit/kit/-/badge.svg)](https://sourcegraph.com/github.com/go-kit/kit?badge)\n\n**Go kit** is a **programming toolkit** for building microservices\n(or elegant monoliths) in Go. We solve common problems in distributed\nsystems and application architecture so you can focus on delivering\nbusiness value.\n\n- Website: [gokit.io](https://gokit.io)\n- Mailing list: [go-kit](https://groups.google.com/forum/#!forum/go-kit)\n- Slack: [gophers.slack.com](https://gophers.slack.com) **#go-kit** ([invite](https://gophersinvite.herokuapp.com/))\n\n## Sponsors\n\n\u003cdiv\u003e\n  \u003ca href=\"https://encore.dev\" style=\"display: inline-flex; align-items: center; gap: 10px\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/78424526/214602214-52e0483a-b5fc-4d4c-b03e-0b7b23e012df.svg\" height=\"28px\" alt=\"encore icon\"\u003e\u003c/img\u003e\n  \u003cb\u003eEncore – the platform for building Go-based cloud backends.\u003c/b\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\u003cbr/\u003e\n\nClick [here](https://github.com/sponsors/peterbourgon) or Sponsor, above, for more information on sponsorship.\n\n## Motivation\n\nGo has emerged as the language of the server, but it remains underrepresented\nin so-called \"modern enterprise\" companies like Facebook, Twitter, Netflix, and\nSoundCloud. Many of these organizations have turned to JVM-based stacks for\ntheir business logic, owing in large part to libraries and ecosystems that\ndirectly support their microservice architectures.\n\nTo reach its next level of success, Go needs more than simple primitives and\nidioms. It needs a comprehensive toolkit, for coherent distributed programming\nin the large. Go kit is a set of packages and best practices, which provide a\ncomprehensive, robust, and trustable way of building microservices for\norganizations of any size.\n\nFor more details, see\n [the website](https://gokit.io),\n [the motivating blog post](http://peter.bourgon.org/go-kit/) and\n [the video of the talk](https://www.youtube.com/watch?v=iFR_7AKkJFU).\nSee also the\n [Go kit talk at GopherCon 2015](https://www.youtube.com/watch?v=1AjaZi4QuGo).\n\n## Goals\n\n- Operate in a heterogeneous SOA — expect to interact with mostly non-Go-kit services\n- RPC as the primary messaging pattern\n- Pluggable serialization and transport — not just JSON over HTTP\n- Operate within existing infrastructures — no mandates for specific tools or technologies\n\n## Non-goals\n\n- Supporting messaging patterns other than RPC (for now) — e.g. MPI, pub/sub, CQRS, etc.\n- Re-implementing functionality that can be provided by adapting existing software\n- Having opinions on operational concerns: deployment, configuration, process supervision, orchestration, etc.\n\n## Contributing\n\nPlease see [CONTRIBUTING.md](/CONTRIBUTING.md).\nThank you, [contributors](https://github.com/go-kit/kit/graphs/contributors)!\n\n## Dependency management\n\nGo kit is [modules](https://github.com/golang/go/wiki/Modules) aware, and we\nencourage users to use the standard modules tooling. But Go kit is at major\nversion 0, so it should be compatible with non-modules environments.\n\n## Code generators\n\nThere are several third-party tools that can generate Go kit code based on\ndifferent starting assumptions.\n\n- [RecoLabs/microgen](https://github.com/RecoLabs/microgen)\n- [GrantZheng/kit](https://github.com/GrantZheng/kit)\n- [kujtimiihoxha/kit](https://github.com/kujtimiihoxha/kit) (unmaintained)\n- [nytimes/marvin](https://github.com/nytimes/marvin)\n- [sagikazarmark/mga](https://github.com/sagikazarmark/mga)\n- [sagikazarmark/protoc-gen-go-kit](https://github.com/sagikazarmark/protoc-gen-go-kit)\n- [metaverse/truss](https://github.com/metaverse/truss)\n- [goadesign/goakit](https://github.com/goadesign/plugins/tree/v3/goakit)\n\n## Related projects\n\nProjects with a ★ have had particular influence on Go kit's design (or vice-versa).\n\n### Service frameworks\n\n- [gizmo](https://github.com/nytimes/gizmo), a microservice toolkit from The New York Times ★\n- [go-micro](https://github.com/micro/go-micro), a distributed systems development framework ★\n- [gotalk](https://github.com/rsms/gotalk), async peer communication protocol \u0026amp; library\n- [Kite](https://github.com/koding/kite), a micro-service framework\n- [gocircuit](https://github.com/gocircuit/circuit), dynamic cloud orchestration\n\n### Individual components\n\n- [afex/hystrix-go](https://github.com/afex/hystrix-go), client-side latency and fault tolerance library\n- [armon/go-metrics](https://github.com/armon/go-metrics), library for exporting performance and runtime metrics to external metrics systems\n- [codahale/lunk](https://github.com/codahale/lunk), structured logging in the style of Google's Dapper or Twitter's Zipkin\n- [eapache/go-resiliency](https://github.com/eapache/go-resiliency), resiliency patterns\n- [sasbury/logging](https://github.com/sasbury/logging), a tagged style of logging\n- [grpc/grpc-go](https://github.com/grpc/grpc-go), HTTP/2 based RPC\n- [inconshreveable/log15](https://github.com/inconshreveable/log15), simple, powerful logging for Go ★\n- [mailgun/vulcand](https://github.com/vulcand/vulcand), programmatic load balancer backed by etcd\n- [mattheath/phosphor](https://github.com/mondough/phosphor), distributed system tracing\n- [pivotal-golang/lager](https://github.com/pivotal-golang/lager), an opinionated logging library\n- [rubyist/circuitbreaker](https://github.com/rubyist/circuitbreaker), circuit breaker library\n- [sirupsen/logrus](https://github.com/sirupsen/logrus), structured, pluggable logging for Go ★\n- [sourcegraph/appdash](https://github.com/sourcegraph/appdash), application tracing system based on Google's Dapper\n- [spacemonkeygo/monitor](https://github.com/spacemonkeygo/monitor), data collection, monitoring, instrumentation, and Zipkin client library\n- [streadway/handy](https://github.com/streadway/handy), net/http handler filters\n- [vitess/rpcplus](https://godoc.org/github.com/youtube/vitess/go/rpcplus), package rpc + context.Context\n- [gdamore/mangos](https://github.com/gdamore/mangos), nanomsg implementation in pure Go\n\n### Web frameworks\n\n- [Gorilla](http://www.gorillatoolkit.org)\n- [Gin](https://gin-gonic.com/)\n- [Negroni](https://github.com/codegangsta/negroni)\n- [Goji](https://github.com/zenazn/goji)\n- [Martini](https://github.com/go-martini/martini)\n- [Beego](https://beego.vip/)\n- [Revel](https://revel.github.io/) (considered [harmful](https://github.com/go-kit/kit/issues/350))\n- [GoBuffalo](https://gobuffalo.io/)\n\n## Additional reading\n\n- [Architecting for the Cloud](https://slideshare.net/stonse/architecting-for-the-cloud-using-netflixoss-codemash-workshop-29852233) — Netflix\n- [Dapper, a Large-Scale Distributed Systems Tracing Infrastructure](http://research.google.com/pubs/pub36356.html) — Google\n- [Your Server as a Function](http://monkey.org/~marius/funsrv.pdf) (PDF) — Twitter\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-kit%2Fkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-kit%2Fkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-kit%2Fkit/lists"}