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

    Metrics Interface Counter Gauge Observer Usage Metrics in server Metrics in Client References Metrics Interface Counter , Gauge , Observer are the three major metric i...
  • Metrics

    Interface Counter Gauge Observer Usage Metrics in server Metrics in Client References Interface Counter , Gauge , Observer are the three major metric interface of krato...
  • API Definition

    API Definition API Definition API Generation API Register References API Definition Kratos implements REST and gRPC as the transport protocols. We mainly follow the API Desi...
  • Overview

    Overview Built-in Middleware logging metrics recovery status tracing validate auth ratelimit circuitbreaker Usage Custom Middleware Overview Kratos has a series of b...
  • Encoding

    Encoding Interface Example of Codec Implementation Usage Register Custom Codec Get the Codec Serialization Deserialization Encoding We’ve abstracted the Codec interface ...
  • 服务注册与发现

    1452 2021-07-16 《Kratos v2.0 教程》
    接口实现 使用方式 注册服务实例 服务发现(gRPC) 接口实现 Registry接口分为两个,Registrar为实例注册和反注册,Discovery为服务实例列表获取 type Registrar interface { // 注册实例 Register ( ctx context . Context...
  • FAQ

    FAQ google/protobuf/descriptor.proto: File not found. error while using kratos proto command. IDE中import “google/api/annotations.proto”;等proto文件有错误提示(被画波浪线) 如何使用 goland 进行开发 新...
  • 路由与负载均衡

    390 2022-08-10 《Kratos v2.4 教程》
    路由与负载均衡 接口实现 使用方式 HTTP Client gRPC Client 路由与负载均衡 接口实现 路由与负载均衡主要的接口是 Selector,在同目录下也提供了一个默认的 Selector 实现,该实现可以通过替换 NodeBuilder、Filter、Balancer 来分别实现节点权重计算算法、服务路由过滤策略、负载均衡算法...
  • FAQ

    FAQ 1. google/protobuf/descriptor.proto: File not found. error while using kratos proto command. 2. There are errors from IDE show import "google/api/annotations.proto"; with r...
  • FAQ

    FAQ 1. google/protobuf/descriptor.proto: File not found. error while using kratos proto command. 2. There are errors from IDE show import "google/api/annotations.proto"; with r...