finish
This commit is contained in:
@@ -12,6 +12,7 @@ type ServerConfig struct {
|
||||
Jwt JwtConfig `yaml:"jwt"`
|
||||
Email EmailConfig `yaml:"email"`
|
||||
Bos BosConfig `yaml:"bos"`
|
||||
Kafka KafkaCofig `yaml:"kafka"`
|
||||
}
|
||||
|
||||
type MySQLConfig struct {
|
||||
@@ -46,3 +47,9 @@ type BosConfig struct {
|
||||
SecretKey string `yaml:"secretKey"`
|
||||
Domain string `yaml:"domain"`
|
||||
}
|
||||
|
||||
type KafkaCofig struct {
|
||||
Servers []string `yaml:"servers"`
|
||||
Topic string `yaml:"topic"`
|
||||
Partition int `yaml:"partition"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user