mohuishou / scuplus-go

We川大小程序后端
https://documenter.getpostman.com/view/364695/RWaGUpsy
108 stars 28 forks source link

请问SCUPLUS_JOB_CONF这个配置文件能分享一下吗? #59

Open gogobody opened 5 years ago

gogobody commented 5 years ago

`panic: Open file error: open : The system cannot find the file specified.

goroutine 1 [running]: github.com/mohuishou/scuplus-go/job.init.0() E:/Projects/we川大/scuplus-go/job/job.go:20 +0x4a8 `

mohuishou commented 5 years ago
broker: 'redis://localhost:6379'
default_queue: machinery_tasks
result_backend: 'redis://localhost:6379'
results_expire_in: 3600
amqp:
  binding_key: machinery_task
  exchange: machinery_exchange
  exchange_type: direct
  prefetch_count: 3
gogobody commented 5 years ago

想作为学习交流使用,奈何配置文件太多

2019/08/21 17:25:20 配置文件读取失败!open config.toml: The system cannot find the file specified.

mohuishou commented 5 years ago

这个看 config 目录就行了,总共就这两个配置

2513400762 commented 3 years ago

“config.toml” 能分享下吗

mohuishou commented 3 years ago

“config.toml” 能分享下吗

和 config 目录下的结构体一一对应就行了

2513400762 commented 3 years ago

好的,那个数据库结构有吗?已经跑起来了