cmdb

command module
v0.0.0-...-5259590 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 3 Imported by: 0

README

cmdb

系统设计

流程与数据结构概要设计

数据库准备

use admin
db.auth("admin","123456")
use cmdb_mini
db.createUser({user: "cmdb", pwd: "123456", roles: [{ role: "dbOwner", db: "cmdb_mini" }]})

业务接口设计

定时任务

  1. 定时任务的接口,cron
  c.AddFunc("@daily", func() {
    接口调用
  })

添加定时任务会让程序变的有状态

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL