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

    Config Define configuration through proto Configuration file Proto declaration Build configuration Usage Config In the Kratos project, multiple configuration sources can be...
  • 代码示例

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

    项目结构 推荐阅读 项目结构 我们创建了 kratos-layout 作为使用 kratos new 新建项目时所使用结构,其中包括了开发过程中所需的配套工具链( Makefile 等),便于开发者更高效地维护整个项目,本项目亦可作为使用 Kratos 构建微服务的工程化最佳实践的参考。 使用如下命令即可基于 kratos-layout 创...
  • User Guide

    User Guide User Guide 📄️ Protobuf Guideline This documentation is the guideline of Protobuf definition which recommended in Kratos project. 📄️ OpenAPI Swagger OpenAPI Swagge...
  • gRPC

    411 2022-08-10 《Kratos v2.4 教程》
    gRPC server 配置 Network() Address() Timeout() Logger() Middleware() UnaryInterceptor() Options() 主要的实现细节 NewServer() unaryServerInterceptor() 使用方式 注册 grpc server...
  • Quick Start

    Quick Start Quick Start 📄️ Quick Start Version 📄️ Usage Installation 📄️ Plugins Kratos Plugins 📄️ Examples Kratos examples
  • gRPC

    1422 2021-07-16 《Kratos v2.0 教程》
    server 配置 Network() Address() Timeout() Logger() Middleware() UnaryInterceptor() Options() 主要的实现细节 NewServer() unaryServerInterceptor() 使用方式 注册 grpc server grp...
  • Protobuf 规范

    1076 2021-07-16 《Kratos v2.0 教程》
    目录结构 包名 go_package java_package objc_class_prefix Version Import 命名规范 目录结构 文件结构 Message 和 字段命名 数组 Repeated 枚举 Enums 服务 Services Comment Examples References 这里主要进行...
  • FAQ

    786 2021-07-16 《Kratos v1.0 教程》
    安装失败,提示go mod 错误 安装失败,提示go mod 错误 执行 go get - u github . com / go - kratos / kratos / tool / kratos 出现以下错误时 go : github . com / prometheus / client_model@v0 . 0.0 - 2...
  • 配置

    315 2023-06-19 《Kratos v2.6 教程》
    配置 设计理念 1.支持多种配置源 2.支持多种配置格式 3.热更新 4.配置合并 使用 1.初始化配置源 2.读取配置 3.监听配置变更 4.读取环境变量 5.配置解析Decoder 6.配置处理Resolver 7.支持其它格式的配置文件 kratos-layout 理念 1.项目结构 2.配置生成命令 3.使用Protob...