Documentation ¶
Index ¶
- Constants
- Variables
- func CloseDB() (err error)
- func Init()
- func InitDB(loggerlevel bool) (err error)
- func InitLog(level string) (err error)
- func PutAlarmToRedis(body string) error
- func SetBucketKey(key string)
- func SetLogLevel(loggerlevel bool)
- func StartRedis(enable bool, addr string, password string, bucketkey string)
- type DBPool
- type RedisConn
Constants ¶
View Source
const (
VERSION = "0.0.1"
)
change log: deprecated
Variables ¶
View Source
var ApiClient apiClients
Functions ¶
func PutAlarmToRedis ¶
func SetBucketKey ¶
func SetBucketKey(key string)
func SetLogLevel ¶
func SetLogLevel(loggerlevel bool)
Types ¶
Click to show internal directories.
Click to hide internal directories.