From 122d762d4ca8d7ee10713d52010b9f563c102c0a Mon Sep 17 00:00:00 2001 From: Wangjunqi123 Date: Mon, 1 Jul 2024 08:56:49 +0800 Subject: [PATCH] server/conf: remove pilotgo addr from conf --- elk.yaml.template | 2 -- server/conf/config.go | 1 - server/conf/meta.go | 4 ---- 3 files changed, 7 deletions(-) diff --git a/elk.yaml.template b/elk.yaml.template index 6da35e4..c1dd4cf 100644 --- a/elk.yaml.template +++ b/elk.yaml.template @@ -3,8 +3,6 @@ elk: public_certificate: "" private_key: "" addr: "localhost:9993" -PilotGo: - http_addr: "localhost:8888" log: level: debug driver: file # 可选stdout和file。stdout:输出到终端控制台;file:输出到path下的指定文件。 diff --git a/server/conf/config.go b/server/conf/config.go index 46b9509..b80dbc9 100644 --- a/server/conf/config.go +++ b/server/conf/config.go @@ -20,7 +20,6 @@ var config_dir string type ServerConfig struct { Elk *ElkConf - PilotGo *PilotGoConf Logopts *logger.LogOpts `yaml:"log"` Elasticsearch *ElasticConf Logstash *LogstashConf diff --git a/server/conf/meta.go b/server/conf/meta.go index c4c114c..33b8ae9 100644 --- a/server/conf/meta.go +++ b/server/conf/meta.go @@ -7,10 +7,6 @@ type ElkConf struct { Addr string `yaml:"addr"` } -type PilotGoConf struct { - Addr string `yaml:"http_addr"` -} - type ElasticConf struct { Https_enabled bool `yaml:"https_enabled"` Addr string `yaml:"addr"` -- Gitee