mirror of https://github.com/milvus-io/milvus.git
23 lines
470 B
Go
23 lines
470 B
Go
package paramtable
|
|
|
|
type httpConfig struct {
|
|
Enabled ParamItem `refreshable:"false"`
|
|
DebugMode ParamItem `refreshable:"false"`
|
|
}
|
|
|
|
func (p *httpConfig) init(base *BaseTable) {
|
|
p.Enabled = ParamItem{
|
|
Key: "proxy.http.enabled",
|
|
DefaultValue: "true",
|
|
Version: "2.1.0",
|
|
}
|
|
p.Enabled.Init(base.mgr)
|
|
|
|
p.DebugMode = ParamItem{
|
|
Key: "proxy.http.debug_mode",
|
|
DefaultValue: "false",
|
|
Version: "2.1.0",
|
|
}
|
|
p.DebugMode.Init(base.mgr)
|
|
}
|