1 Star 0 Fork 1

vdebug/push-server-task

forked from cristiane/push-server-task 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.go 513 Bytes
一键复制 编辑 原始数据 按行查看 历史
cristiane 提交于 2020-06-03 21:13 +08:00 . 优化细节
package main
import (
"gitee.com/cristiane/push-server-task/app"
"gitee.com/cristiane/push-server-task/startup"
"gitee.com/cristiane/push-server-task/vars"
)
// 此处定义当前服务的名字
const AppName = "push-server-task"
func main() {
application := &vars.QueueApplication{
Application: &vars.Application{
Name: AppName,
LoadConfig: startup.LoadConfig,
SetupVars: startup.SetupVars,
},
GetNamedTaskFuncs: startup.GetNamedTaskFuncs,
}
app.RunQueueApplication(application)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/vdebug123/push-server-task.git
git@gitee.com:vdebug123/push-server-task.git
vdebug123
push-server-task
push-server-task
f-release

搜索帮助