Commit graph

80 commits

Author SHA1 Message Date
2bb4ea1a28
Merge pull request #16 from hamburghammer/feature/request-path
Implement request path for gsave
2020-11-02 12:08:37 +01:00
Augusto Dwenger
88848752df Implement request path for gsave 2020-11-02 12:05:34 +01:00
97da3df18f
Merge pull request #15 from hamburghammer/feature/#13
Move the token from the query to the headers
2020-11-02 11:59:38 +01:00
Augusto Dwenger
027c327d71 Move the token from the query to the headers 2020-11-01 17:15:34 +01:00
2f7ae0b787
Merge pull request #8 from hamburghammer/feature/config-parser
Implement a toml configuration loader
2020-10-30 08:02:26 +01:00
bf2b501a0a Refactor the toml loading function 2020-10-29 18:08:36 +01:00
4c0ad27087 Remove all references to a file loader
It is now a toml loader that reads the input from a reader.
2020-10-29 17:55:03 +01:00
Augusto Dwenger
9d107104cc Add validateion for the Stats and Gotify config 2020-10-29 11:06:48 +01:00
Augusto Dwenger
8580dcbc59 Remove unneeded test files
These files where no longer used because the test implements a reader
that returns as some mock content.
2020-10-29 09:57:05 +01:00
ce0cba07ab Simplify the config reading 2020-10-29 09:45:30 +01:00
Augusto Dwenger
28de60a43a Extract the toml file loader to own file with tests 2020-10-26 15:12:18 +01:00
Augusto Dwenger
b639319961 Implement a toml configuration file loader 2020-10-26 15:12:17 +01:00
48fc97fd4d
Merge pull request #12 from hamburghammer/feature/drone-ci
Adding basic configuration for CI/CD with Drone CI
2020-10-26 15:09:34 +01:00
8501f4f2fd Disable the build step
For now there is no package to build.
2020-10-26 15:03:09 +01:00
b2ef62011c Add CI status badge 2020-10-26 14:55:01 +01:00
dbf35cbeea Add Drone CI pipelines 2020-10-26 14:54:43 +01:00
Augusto Dwenger J
169a30bc02
Merge pull request #10 from hamburghammer/bug/extra-text-escaping-error
Fix test by escaping the extra text error message
2020-10-26 13:50:28 +01:00
Augusto Dwenger
6ab65395fa Fix test by escaping the extra text error message 2020-08-24 18:18:34 +02:00
Augusto Dwenger
edd8bcc2bb
Merge pull request #5 from hamburghammer/feature/input-client
Implementation of a client to get the statistics
2020-08-21 08:04:16 +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
Augusto Dwenger
5c52315963 Implement request builder 2020-08-14 14:37:58 +02:00
Augusto Dwenger
a9d2dcf701 Init go module 2020-08-13 11:52:18 +02:00
Augusto Dwenger
4050c59b68
Initial commit 2020-08-13 11:38:29 +02:00