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

    Layout Layout The kratos-layout is used by command kratos new for new project creation. The directory structures and tool chains are included in this layout project. Which hel...
  • 框架组件

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

    Usage Installation Tool Usage Version Project Creation Adding Proto files Generate Proto Codes Generate Service Codes Usage Installation go install github . com / go - k...
  • Tracing

    Tracing Configuration WithTracerProvider WithPropagator Usage Tracing for Server Tracing for Client References Tracing We use OpenTelemetry for distributed tracing. C...
  • Tracing

    Tracing Configuration WithTracerProvider WithPropagator Usage Tracing for Server Tracing for Client References Tracing We use OpenTelemetry for distributed tracing. C...
  • Overview

    Overview Goals Principles Features Architecture Related Community License Contributors Overview Kratos is a microservice-oriented governance framework implemented by Gol...
  • Routing and Load Balancing

    Routing and Load Balancing Interface Implementation How to use HTTP Client gRPC Client Routing and Load Balancing Interface Implementation The main interface for routing an...
  • Dependency Injection

    Dependency Injection Installation Terms Usage Component Initialization References Dependency Injection Wire is a compile-time dependency injection tool. It is recommended...
  • 序列化

    345 2022-08-10 《Kratos v2.4 教程》
    序列化 接口实现 实现示例 使用方式 注册 Codec 获取 Codec 序列化 反序列化 序列化 我们抽象出了Codec 接口,用于统一处理请求的序列化/反序列化逻辑,您也可以实现您自己的Codec以便支持更多格式。具体源代码在encoding 。 目前内置支持了如下格式: form json protobuf xml yaml ...
  • Logger

    Logger Design concept Helper - log in project code Logger - adapts to various log output methods Interface Log level Adaptation and implementation Use DefaultLogger: default ...