书栈网 · BookStack 本次搜索耗时 0.020 秒,为您找到 341 个相关结果.
  • genmc

    561 2021-07-16 《Kratos v1.0 教程》
    kratos tool genmc 缓存模板 参考 kratos tool genmc 缓存代码生成 在internal/dao/dao.go中添加mc缓存interface定义,可以指定对应的注解参数 ;并且在接口前面添加go:generate kratos tool genmc ;然后在当前目录执行go generate ,可以看到自...
  • genbts

    485 2021-07-16 《Kratos v1.0 教程》
    kratos tool genbts 回源模板 参考 kratos tool genbts 缓存回源代码生成 在internal/dao/dao.go中添加mc缓存interface定义,可以指定对应的注解参数 ;并且在接口前面添加go:generate kratos tool genbts ;然后在当前目录执行go generate ,...
  • Design

    Design Design Philosophy Community Why Kratos V2 was completely redesigned Database/Cache/Message Queue/… CLI Tool API Metadata Error Handling Configuration Registrar&Disc...
  • Design

    Design Design Philosophy Community Why Kratos V2 was completely redesigned Database/Cache/Message Queue/… CLI Tool API Metadata Error Handling Configuration Registrar&Disc...
  • 链路追踪

    315 2023-06-19 《Kratos v2.6 教程》
    链路追踪 配置 WithTracerProvider WithPropagator 使用方法 server 中使用 tracing 采集数据 client 中使用 tracing 采集数据 References 链路追踪 Tracing 中间件使用 OpenTelemetry 实现了链路追踪。 配置 有两种方法可用于使用WithT...
  • 链路追踪

    485 2022-08-10 《Kratos v2.4 教程》
    链路追踪 配置 WithTracerProvider WithPropagator 使用方法 server 中使用 tracing 采集数据 client 中使用 tracing 采集数据 References 链路追踪 Tracing 中间件使用 OpenTelemetry 实现了链路追踪。 配置 有两种方法可用于使用WithT...
  • 常见问题

    1235 2021-07-16 《Kratos v2.0 教程》
    在使用kratos proto 命令时报google/protobuf/descriptor.proto: File not found. 的错误 IDE中import “google/api/annotations.proto”;等proto文件有错误提示(被画波浪线) 如何使用 goland 进行开发 新版本发布后重新生成代码,发现无法运行,生成出...
  • 常见问题

    514 2023-06-19 《Kratos v2.6 教程》
    常见问题 1、在使用kratos proto 命令时报google/protobuf/descriptor.proto: File not found. 的错误 2、IDE中import “google/api/annotations.proto”;等proto文件有错误提示(被画波浪线) 3、如何使用 goland 进行开发 4、新版本发布后重新生成...
  • 框架组件

    437 2022-04-18 《Kratos v2.2 教程》
    框架组件 框架组件 📄️ API 定义 Kratos API 与用户的通信协议,通常是 REST API 和 RPC API 作为传输层协议,而 Kratos 主要参考 Google API 指南,实现了对应通信协议支持,并且遵守了 gRPC API 使用 HTTP 映射功能进行 JSON/HTTP 的支持 📄️ 配置 Kratos 配置...
  • Overview

    Interface server Transporter Endpointer Usage The Kratos framework abstracts the transport layer, the developers can access the implementation through the implementation i...