Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Http http `json:"http" yaml:"http"` //服务ip配置 Polaris client.Polaris `json:"polaris" yaml:"polaris"` //北极星注册中心配置 Auth auth `json:"auth" yaml:"auth"` // auth 身份认证配置 Cors cors `json:"cors" yaml:"cors"` //cors 配置 Recovery recovery `json:"recovery" yaml:"recovery"` // recovery 配置 Gzip gzip `json:"gzip" yaml:"gzip"` // 压缩配置 I18n i18n `json:"i18n" yaml:"i18n"` // 国际化配置 Swag swag `json:"swag" yaml:"swag"` // swag文档 Jaeger client.Jaeger `json:"jaeger" yaml:"jaeger"` //链路配置 Transport transport `json:"transport" yaml:"transport"` //多路复用配置 }
Server 服务端配置
Click to show internal directories.
Click to hide internal directories.