Commit e27591fd authored by iamhujiebin's avatar iamhujiebin

Update main.go

parent 8b61f804
...@@ -16,6 +16,7 @@ const ( ...@@ -16,6 +16,7 @@ const (
) )
func main() { func main() {
redisCli.AddRedisHook()
cron.Init() // 开启定时任务 cron.Init() // 开启定时任务
event_s.EventInit() // 注册事件(内部事件+mysql拟kafka) event_s.EventInit() // 注册事件(内部事件+mysql拟kafka)
redisCli.InitCluster() // redis集群 redisCli.InitCluster() // redis集群
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment