add: anowflake email kafka, refa: redis connectg
This commit is contained in:
@@ -13,6 +13,11 @@ type JwtConfig struct {
|
||||
type Config struct {
|
||||
zrpc.RpcServerConf
|
||||
DataSource string `json:"dataSource"`
|
||||
CacheConf cache.CacheConf
|
||||
Jwt JwtConfig `json:"jwt"`
|
||||
DB struct {
|
||||
Master string
|
||||
Slave string
|
||||
}
|
||||
CacheConf cache.CacheConf
|
||||
Jwt JwtConfig `json:"jwt"`
|
||||
SnowflakeRpcConf zrpc.RpcClientConf
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user