add mysql

This commit is contained in:
wangchuxiao
2022-09-16 11:57:01 +08:00
parent c025d0d030
commit 665e2e3e83
5 changed files with 26 additions and 4 deletions
+4
View File
@@ -158,6 +158,8 @@ type config struct {
Etcd struct {
EtcdSchema string `yaml:"etcdSchema"`
EtcdAddr []string `yaml:"etcdAddr"`
UserName string `yaml:"userName"`
Password string `yaml:"password"`
}
Log struct {
StorageLocation string `yaml:"storageLocation"`
@@ -219,6 +221,8 @@ type config struct {
}
Kafka struct {
UserName string `yaml:"userName"`
Password string `yaml:"password"`
Ws2mschat struct {
Addr []string `yaml:"addr"`
Topic string `yaml:"topic"`