env

package
v0.0.0-...-f0dea4b Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DBINFO    DbInfo
	DM        DEVICEMAP
	INF       ItoInfo
	IotLog    *logs.BeeLogger
	DbHandler *gorm.DB
	DbErr     error
)

Functions

func CheckErr

func CheckErr(err error)

Types

type DEVICEMAP

type DEVICEMAP struct {
	//DeviceMap map[string]*model.Tbl_wlw_device
	Mx sync.RWMutex
}

设备信息

type DbInfo

type DbInfo struct {
	Host   string
	User   string
	PassWd string
	Port   string
	DbName string
}

数据库信息描述

type ItoInfo

type ItoInfo struct {
	SendCycle  string
	SensorRGPH string
	SensorHTPH string
}

Jump to

Keyboard shortcuts

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