Documentation ¶
Index ¶
- Constants
- func ParseThingFuSerialData(data string) (p map[string]interface{}, e error)
- func RandomString(str_size int) string
- func SendEmail(host string, port uint16, userName string, password string, to []string, ...) (err error)
- func TimeWithinThreshold(last time.Time, threshold int, defaultThreshold int) bool
- type GoTime
Constants ¶
View Source
const ( ONE_MINUTE = 60 TWO_MINUTES = 120 ONE_HOUR = ONE_MINUTE * 60 TWO_HOURS = ONE_HOUR * 2 ONE_DAY = ONE_HOUR * 24 TWO_DAYS = ONE_DAY * 2 ONE_MONTH = ONE_DAY * 30 TWO_MONTHS = ONE_MONTH * 2 ONE_YEAR = ONE_DAY * 365 )
Variables ¶
This section is empty.
Functions ¶
func ParseThingFuSerialData ¶
func RandomString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.