Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB // 业务库
View Source
var DBConfig map[string]map[string]string // 数据库配置
View Source
var Hr *sql.DB // 人事库
View Source
var IniConf *ini.File // ini路径
View Source
var KafkaAsyncClient sarama.AsyncProducer // kafka地址
View Source
var KafkaConsumerClient sarama.Consumer // kafka地址
View Source
var KafkaSyncClient sarama.SyncProducer // kafka地址
View Source
var RDS *redis.Pool // redis初始化
var ROOT_PATH string
Functions ¶
func SetAsyncKafka ¶
func SetAsyncKafka()
func SetConsumer ¶
func SetConsumer()
func SetRedisDb ¶
func SetRedisDb()
func SetSyncKafka ¶
func SetSyncKafka()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.