package main import ( mongodb "git.nonolive.co/eson.hsm/databoard-collect/database" myrocks "git.nonolive.co/eson.hsm/databoard-database-myrocks" "github.com/474420502/perfectshutdown" ) var ps = perfectshutdown.New() // mongodb 驱动 var mdb = mongodb.NewStatisticsDB("mongodb://sg-board1.livenono.com:27018") // 默认全局的数据库对象 var db = myrocks.DB