Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ServerPort string // 控制台管理端口,如果不配置则不会开启控制台
AdminPassword string // 管理员身份确认密码,提供该密码可以拥有管理员身份,否则将被视为普通用户
StoreType string
MySQL MySQLConfig
Tls map[string]*tls.Config // TLS 配置。key 为IP,value 为该IP对应的主机名与 TLS 配置
HealthCheck HealthCheckConfig // 健康检查配置
}
Config 表示插件配置
type HealthCheckConfig ¶
HealthCheckConfig 为健康检查配置,配置时格式与 forward 插件配置相同
Click to show internal directories.
Click to hide internal directories.