refresh sample
bluebreezecf
8 years ago
36 | 36 |
|
37 | 37 |
//1. POST /api/put
|
38 | 38 |
fmt.Println("Begin to test POST /api/put.")
|
39 | |
cpuDatas := []client.DataPoint{}
|
|
39 |
cpuDatas := make([]client.DataPoint, 0)
|
40 | 40 |
st1 := time.Now().Unix()
|
41 | 41 |
time.Sleep(2 * time.Second)
|
42 | 42 |
tags := make(map[string]string)
|