Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bow ¶
type Bow struct { Port int `yaml:"Port"` // 开放端口,便于其它应用访问 LogPath string `yaml:"LogPath"` // 日志文件输出路径 HealthCheck bool `yaml:"HealthCheck"` // 是否开启健康检查 ServerManager bool `yaml:"ServerManager"` // 是否启用服务管理功能 LoadBalance bool `yaml:"LoadBalance"` // 是否启用负载均衡 OpenTLS bool `yaml:"OpenTLS"` // 是否开启 TLS ConfigPath string `yaml:"ConfigPath"` // Bow 配置文件路径 DiscoveryInit bool `yaml:"DiscoveryInit"` // 是否启用发现服务 DiscoveryComponent string `yaml:"DiscoveryComponent"` // 所启用发现服务组件名 DiscoveryURL string `yaml:"DiscoveryURL"` // 发现服务地址 DiscoveryReceiveHost string `yaml:"DiscoveryReceiveHost"` // 发现服务收到当前注册服务的地址,端口号默认通过 PORT 获取 }
Bow bow object by cmd.yml format
type Shunt ¶
type Shunt struct { Port int `yaml:"Port"` // 开放端口,便于其它应用访问 LogPath string `yaml:"LogPath"` // 日志文件输出路径 HealthCheck bool `yaml:"HealthCheck"` // 是否开启健康检查 ServerManager bool `yaml:"ServerManager"` // 是否启用服务管理功能 OpenTLS bool `yaml:"OpenTLS"` // 是否开启 TLS ConfigPath string `yaml:"ConfigPath"` // Bow 配置文件路径 DiscoveryInit bool `yaml:"DiscoveryInit"` // 是否启用发现服务 DiscoveryComponent string `yaml:"DiscoveryComponent"` // 所启用发现服务组件名 DiscoveryURL string `yaml:"DiscoveryURL"` // 发现服务地址 DiscoveryReceiveHost string `yaml:"DiscoveryReceiveHost"` // 发现服务收到当前注册服务的地址,端口号默认通过 PORT 获取 }
Shunt shunt object by cmd.yml format
Click to show internal directories.
Click to hide internal directories.