企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
~~~ package config type Config struct { RedisCfg *RedisCfg ZkCfg *ZkCfg LogCfg *LogCfg KafkaCfg *KafkaCfg MysqlCfg *MysqlCfg } type RedisCfg struct { IP string Port int //单机 Addr string Password string //集群 Addrs []string } type ZkCfg struct { Servers []string } type LogCfg struct { ProgramName string Debug bool } type KafkaCfg struct { IP string Port int Addrs []string } type MysqlCfg struct { Addrs string IP string Port int User string Password string DBName string } ~~~