# Functions
DbSurvive mysql survive.
No description provided by the author
InitDB init dbdsn string 示例 "账号:密码@tcp(服务器IP:端口)/数据库名?charset=utf8&parseTime=True&loc=Local" dsn1 支持多个,后面为从库.
InitEsClient ES初始化dsn string http://127.0.0.1:9200username 账号 可传空password 密码.
No description provided by the author
*InitKafkaConsumer 获取消费端
dsn string localhost:9093
username 账号 可传空
password 密码
*/.
*
InitKafkaProducer 获取kafka生产端
dsn string localhost:9093
username 账号 可传空
password 密码
*/.
InitMongoDb mongodb 初始化 dns string 示例 "mongodb://root:[email protected]:27627" maxsize 连接池空闲连接数量 timeOut 空闲时间.
InitRdb 初始化redisaddr string "127.0.0.1:6379"password 密码 可传空num int DB 库.
RdbSurvive redis存活检测.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author