.github build(deps): bump actions/setup-go from 5.1.0 to 5.4.0 (#3590) Mar 20, 2025 api chore: replace interface{} with any (#3557) Mar 7, 2025 cmd deps: upgrade kratos version to v2.8.4 (#3558) Mar 8, 2025 config perf(config): refactor atomicValue Bool method by optimizing ...
Last commit date Latest commit xuerbujia and wuhongyu update component/transport/grpc.md add some client options instructio… Feb 20, 2025 9143f13·Feb 20, 2025 History 648 Commits .github/workflows Update gitee_sync.yml Jul 28, 2023
1 https://github.com/go-kratos/examples 回到顶部 5.Middleware 区别于gin的middleware实现的是gin.HandlerFunc以及在gin中基于http.Handler的实现,参考: go学习笔记——gin框架 1.Kratos的middleware.Middleware kratos的middleware需要实现的是middleware.Middleware,可以参考官方例子:https://github.com/go-kratos/ex...
Github - https://github.com/go-kratos/kratos 文档- https://go-kratos.dev/docs/ 思考 Kratos是一个典型的 基于完善的基建 而成的Go语言开发框架,可以发现它有3个关键点: RPC层复用protobuf的能力 底层依赖Kubernetes的能力 各类工具复用开源库的能力 很多中大型公司的内部框架都是按照这种思路实现的,只是会...
原始仓库: https://github.com/bilibili/kratos main 分支(83) 标签(69) 管理 管理 main deps/v2.8.4 dependabot/go_modules/contrib/registry/polaris/github.com/polarismesh/polaris-go-1.6.0 dependabot/github_actions/Yikun/hub-mirror-action-1.5 dependabot/go_modules/contrib/opensergo/google...
go install github.com/go-kratos/kratos/cmd/kratos/v2@latest kratos cli 工具使用文档:https://go-kratos.dev/docs/getting-started/usage 进入项目 quickstart 目录,运行命令: kratos proto add api/helloworld/v1/student.proto 在api/helloworld/v1 目录先就会出现一个 student.proto 的文件, image-2022053112...
6.85.5go-kratos VS golongpoll golang long polling library. Makes web pub-sub easy via HTTP long-poll servers and clients :smiley: :coffee: :computer: Do you think we are missing an alternative of go-kratos or a related project?
经过进一步的探索,在生成时可通过[protoc-gen-openapi](https://github.com/google/gnostic/tree/main/cmd/protoc-gen-openapi)的参数`naming=proto`来配置生成使用`Protobuf`文件定义名称的文档字段(此步骤在 Kratos 中并无必要,只需关注下面的一个配置即可,但如果将生成的 openapi.yaml拿到外面使用,比如https://...
Kratos是bilibili开源的一套Go微服务框架,包含大量微服务相关框架及工具。 Github上的文档打开速度超级慢,所以做了这本pdf版的文档方便大家使用,本地打开文档,速度实在爽。 上传者:uisoul时间:2020-09-05 Go微服务框架go-kratos学习05:分布式链路追踪 OpenTelemetry 使用.doc ...
1.首先如果需要了解go-kratos的详细文档,可以先去看看官方的文档。 (1)https://github.com/go-kratos/kratos(2)https://go-kratos.gitee.io/kratos/#/ 2.接下来会跟着官方的项目创建步骤进行 (PS:此处的开发环境是ubuntu20.04,windows系统同理) (1)安装kratos工具 go get -u github.com/go-kratos/kratos/...