1
0
mirror of https://github.com/go-kratos/kratos.git synced 2024-12-24 20:14:48 +02:00
Your ultimate Go microservices framework for the cloud-native era.
Go to file
dependabot[bot] 7eb39d0c39
build(deps): bump golang.org/x/net from 0.19.0 to 0.23.0 (#3295)
* build(deps): bump golang.org/x/net from 0.19.0 to 0.23.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.19.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* go mod tidy

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Windfarer <windfarer@gmail.com>
2024-07-19 10:00:56 +08:00
.github build(deps): bump actions/setup-go from 5.0.0 to 5.0.1 (#3315) 2024-06-12 00:01:11 +08:00
api fix: rectification of non-standard lint codes (#2746) 2023-03-21 15:33:08 +08:00
cmd build(deps): bump google.golang.org/protobuf (#3238) 2024-04-22 11:41:33 +08:00
config feat: parsing config input and convert to match the type (#3306) 2024-06-15 13:28:15 +08:00
contrib build(deps): bump golang.org/x/net from 0.19.0 to 0.23.0 (#3295) 2024-07-19 10:00:56 +08:00
docs docs: add wechat official account image to the Chinese document (#1190) 2021-07-14 23:45:07 +08:00
encoding faat(encoding/form): allow change the default form encoder and decoder tag name (#3328) 2024-06-01 16:07:17 +08:00
errors chore: remove the dependency of grpc_testing module (#2824) 2023-05-09 14:36:47 +08:00
hack chore: fix typo var name in shell (#2955) 2023-10-23 10:14:15 +08:00
internal fix(encoding/form): optimize EncodeField and add test cases (#3234) 2024-03-22 23:40:52 +08:00
log feat: use writer directly in stdLogger. (#3121) 2024-03-16 14:25:37 +08:00
metadata refactor: metadata supports key corresponding to multiple values (#2772) 2023-04-10 14:35:38 +08:00
middleware chore(middleware/metrics): if requests and seconds are nil, return directly (#3298) 2024-04-27 19:38:14 +08:00
registry feat: add subset alg for instances (#2613) 2023-01-13 17:58:09 +08:00
selector feat: improve node alg (#3015) 2023-12-19 19:15:44 +08:00
third_party feat:add buf apis (#2604) 2023-01-05 17:12:50 +08:00
transport adds Set-Cookie method to the HTTP transport. (#3353) 2024-06-27 18:40:09 +08:00
.gitignore fix: .gitignore del Repeated .*so (#2367) 2022-09-15 20:15:07 +08:00
.golangci.yml golangci: check misspell (#3086) 2023-11-21 10:10:43 +08:00
app_test.go fix: rectification of non-standard lint codes (#2746) 2023-03-21 15:33:08 +08:00
app.go fix: clear err after app stop err handling (#3146) 2024-01-05 11:06:12 +08:00
CODE_OF_CONDUCT.md doc: create CODE_OF_CONDUCT.md (#1585) 2021-10-26 09:40:23 +08:00
codecov.yml add codecov (#1195) 2021-07-25 22:11:56 +08:00
CONTRIBUTING.md fix: typo and grammatical errors (#2368) 2022-09-19 10:39:54 +08:00
go.mod build(deps): bump golang.org/x/net from 0.19.0 to 0.23.0 (#3295) 2024-07-19 10:00:56 +08:00
go.sum build(deps): bump golang.org/x/net from 0.19.0 to 0.23.0 (#3295) 2024-07-19 10:00:56 +08:00
LICENSE init v2 2021-02-17 17:14:47 +08:00
Makefile Update Makefile (#2725) 2023-03-13 16:05:38 +08:00
options_test.go fix: rectification of non-standard lint codes (#2746) 2023-03-21 15:33:08 +08:00
options.go Revert "feat: support polaris service governance" 2022-12-20 14:56:36 +08:00
README_zh.md docs: update README_zh.md (#2208) 2022-07-20 13:11:10 +08:00
README.md chore: update go-zero link in readme (#2628) 2023-01-18 11:47:35 +08:00
ROADMAP.md feat:edit readme and roadmap (#1504) 2021-09-23 18:10:59 +08:00
SECURITY.md fix: markdown form format (#2721) 2023-03-13 15:42:19 +08:00
version.go deps: upgrade kratos version to v2.7.3 (#3266) 2024-03-22 23:50:18 +08:00

Build Status GoDoc codeCov Go Report Card License Awesome Go Discord

Go Kratos - A Go framework for microservices. | Product Hunt

Translate to: 简体中文

About Kratos

The name is inspired by the Greek-mythology-based game "God of War". It tells the adventures of Kratos becoming a god of war from a mortal and launching a god-killing slaughter.

Kratos is a microservice-oriented governance framework implemented by golang, which offers convenient capabilities to help you quickly build a bulletproof application from scratch, such as:

Kratos is accessible, powerful, and provides tools required for large, robust applications.

Learning Kratos

Kratos has the most extensive and thorough documentation and example library of all modern web application frameworks, making it a breeze to get started with the framework.

We also provide a modern template. This template should help reduce the work required to setup up modern projects.

Goals

Kratos boosts your productivity. With the integration of excellent resources and further support, programmers can get rid of most issues might encounter in the field of distributed systems and software engineering such that they are allowed to focus on the release of businesses only. Additionally, for each programmer, Kratos is also an ideal one learning warehouse for many aspects of microservices to enrich their experiences and skills.

Principles

  • Simple: Appropriate design with plain and easy code.
  • General: Cover the various utilities for business development.
  • Highly efficient: Speeding up the efficiency of businesses upgrading.
  • Stable: The base libs validated in the production environment have the characteristics of high testability, high coverage as well as high security and reliability.
  • Robust: Eliminating misusing through high quality of the base libs.
  • High-performance: Optimal performance excluding the optimization of hacking in case of unsafe
  • Expandability: Properly designed interfaces where you can expand utilities such as base libs to meet your further requirements.
  • Fault-tolerance: Designed against failure, enhance the understanding and exercising of SRE within Kratos to achieve more robustness.
  • Toolchain: Includes an extensive toolchain, such as the code generation of cache, the lint tool, and so forth.

Getting Started

Create a kratos playground through docker:

docker run -it --rm -p 8000:8000 --workdir /workspace golang
apt-get update && apt-get -y install protobuf-compiler
export GOPROXY=https://goproxy.io,direct
go install github.com/go-kratos/kratos/cmd/kratos/v2@latest && kratos upgrade
kratos new helloworld
cd helloworld/ && go mod tidy
kratos run

Use a browser to open and visit: http://localhost:8000/helloworld/kratos, The kratos program is running!

If you need more, please visit the kratos documentation.

Security Vulnerabilities

If you discover a security vulnerability within Kratos, please send an e-mail to tonybase via go-kratos@googlegroups.com. All security vulnerabilities will be promptly addressed.

Community

Contributors

Thank you for considering contributing to the Kratos framework! The contribution guide can be found in the Kratos documentation.

License

The Kratos framework is open-sourced software licensed under the MIT license.

Acknowledgments

The following project had particular influence on kratos's design.

  • go-kit/kit is a programming toolkit for building microservices in go.
  • asim/go-micro a distributed systems development framework.
  • google/go-cloud is go cloud development kit.
  • zeromicro/go-zero is a web and rpc framework with lots of builtin engineering practices.
  • beego/beego is a web framework including RESTful APIs, web apps and backend services.