Categorygithub.com/jianfmax/gowebtools
modulepackage
0.0.6
Repository: https://github.com/jianfmax/gowebtools.git
Documentation: pkg.go.dev

# README

go相关的一个工具包

loadSetting

定时从数据库中读取数据,如果有数据更改,将更改的数据传到chan中去。

使用时首次初始化需要注意的内容:

  1. 接收消息需要新开一个routine。
  2. 首次初始化初始一个空值,然后运行一次reload,以后都在routine中运行即可。

# Packages

No description provided by the author
No description provided by the author