func PushKeyValTSDS(key string, val string, year int, month int, day int, hour int, min int, sec int) bool { key_time := time.Date(year, time.Month(month), day, hour, min, sec, 0, time.UTC) levigoTSDS.PushTSDS(key, val, key_time, db) return true }
/* Push a key namespace-d with goltime.Timestamp */ func PushKeyValTSDS(packet Packet) bool { status := true _time := packet.TimeDot.Time() for _key, _val := range packet.HashMap { _val = strings.Replace(_val, "\n", " ", -1) status = status && levigoTSDS.PushTSDS(_key, _val, _time, db) } return status }
/* Push a key namespace-d with goltime.Timestamp */ func PushKeyValTSDS(key string, val string, timestamp goltime.Timestamp) bool { if levigoTSDS.PushTSDS(key, val, timestamp.Time(), db) == "" { return false } return true }