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

    Logger Interface Implementation Implement logger Implement valuer Usage Print log with Logger Print log with Helper Add some default fields with Valuer Log to multiple logge...
  • 概览

    826 2021-07-16 《Kratos v2.0 教程》
    内置中间件 生效顺序 使用中间件 自定义中间件 Kratos 内置了一系列的 middleware(中间件)用于处理 logging、 metrics 等通用场景。您也可以通过实现 Middleware 接口,开发自定义 middleware,进行通用的业务处理,比如用户登录鉴权等。 内置中间件 相关代码均可以在middleware 目录下找...
  • 代码示例

    578 2023-06-19 《Kratos v2.6 教程》
    代码示例 组件使用 配置 服务发现&服务注册 HTTP RPC Trace WebSocket 鉴权 日志 其他 综合项目 代码示例 Kratos 提供了丰富的示例代码/项目供参考 组件使用 全部示例 配置 config 使用 config 组件解析配置文件的示例 apollo 从 apollo 中获取配置的示例 ...
  • 代码示例

    564 2022-04-18 《Kratos v2.2 教程》
    代码示例 组件使用 配置 服务发现&服务注册 HTTP RPC Trace WebSocket 鉴权 日志 其他 综合项目 代码示例 Kratos提供了丰富的示例代码/项目供参考 组件使用 全部示例 配置 config 使用 config 组件解析配置文件的示例 apollo 从 apollo 中获取配置的示例 ...
  • Components

    Components Components 📄️ API Definition Kratos implements REST and gRPC as the transport protocols. We mainly follow the API Design Guide from Google. You could define REST A...
  • Components

    📄️ API Definition Kratos implements REST and gRPC as the transport protocols. We mainly follow the [API Design Guide](https://cloud.google.com/apis/design/ ) from Google. You c...
  • 快速开始

    369 2022-04-18 《Kratos v2.2 教程》
    快速开始 快速开始 📄️ 项目初始化 Kratos 微服务框架,快速创建项目代码,生成 Go 工程化项目 📄️ CLI工具 Kratos 工具使用,创建 Protobuf 模板,创建 Go 工程项目,创建 Service 模板 📄️ 插件 Kratos 提供了一系列插件帮助您增强微服务的功能、或与其它系统进行集成 📄️ 代码示例...
  • Metrics

    Configuration WithSeconds() WithRequests() Usage Prometheus To configure metrics in servers To configure metrics in clients References Metrics middleware is used to moni...
  • Overview

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

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