20ede605fb
Replace all occurrences from assert with require
...
The package testify offers assert and require for testing.
The difference between assert and require are is that on require
the test will immediately fail.
2020-11-17 17:23:54 +01:00
5d36d67768
Add some more logging to the main, stats and alert package
2020-11-17 17:16:21 +01:00
0a1cb81dbb
Remove not longer needed debug logging
2020-11-16 23:29:26 +01:00
Augusto Dwenger
274772eaab
Update the simple client to work gsave
...
Implements all field from gsave with the correct type.
2020-11-06 09:46:21 +01:00
Augusto Dwenger
88848752df
Implement request path for gsave
2020-11-02 12:05:34 +01:00
Augusto Dwenger
027c327d71
Move the token from the query to the headers
2020-11-01 17:15:34 +01:00
Augusto Dwenger
6ab65395fa
Fix test by escaping the extra text error message
2020-08-24 18:18:34 +02:00
Augusto Dwenger
baf18288fc
Fix typos in the comments
2020-08-19 18:59:56 +02:00
Augusto Dwenger
bdc929db42
Implement reponse deserialization to Data
2020-08-19 18:02:02 +02:00
Augusto Dwenger
b008dfeafc
Add CPU and Processes values to return Data
2020-08-19 17:37:06 +02:00
Augusto Dwenger
fafa4e40e6
Implement parsing Disk and Mem to Memory struct
2020-08-19 17:30:51 +02:00
Augusto Dwenger
5896aecac6
Change the date parsing to use the struct field
2020-08-19 16:51:14 +02:00
Augusto Dwenger
eabdf9b31e
Rename Space struct to Memory to be more descriptife
2020-08-19 16:36:31 +02:00
Augusto Dwenger
4ee868c8a6
Implement Date deserialization
2020-08-19 15:38:43 +02:00
Augusto Dwenger
0e351dbfc2
Change package name from input to stats
2020-08-14 15:14:57 +02:00