kitex_conf

package
v0.0.0-...-bb7101a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Rpc        rpc               `json:"rpc"  yaml:"rpc"`                //服务ip配置
	Polaris    client.Polaris    `json:"polaris"  yaml:"polaris"`        //北极星注册中心配置
	Jaeger     client.Jaeger     `json:"jaeger"  yaml:"jaeger"`          //链路配置
	Transport  transport         `json:"transport"  yaml:"transport"`    //多路复用配置
	Limit      limit             `json:"limit"  yaml:"limit"`            //限流器
	StatsLevel client.StatsLevel `json:"stats_level" yaml:"stats_level"` //埋点策略&埋点粒度
}

Server 服务端配置

type Service

type Service struct {
	Space   string `json:"space"  yaml:"space"`     //服务空间名称
	Name    string `json:"name"  yaml:"name"`       //服务名称
	Version string `json:"version"  yaml:"version"` //版本信息
	Env     string `json:"env" yaml:"env"`
}

Service 服务名称配置

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL