DaneEveritt
49f3a61d16
Configure cron to actually send to endpoint
2022-07-09 15:47:24 -04:00
DaneEveritt
28137c4c14
Copy the body buffer otherwise subsequent backoff attempts will not have a buffer to send
2022-07-09 15:42:29 -04:00
DaneEveritt
20e44bdc55
Add internal logic to process activity events and send them to the panel
2022-07-09 14:38:41 -04:00
DaneEveritt
1927a59cd0
Send key correctly; don't retry 4xx errors
2022-05-15 16:17:06 -04:00
Dane Everitt
34c0db9dff
Replace encoding/json with goccy/go-json for cpu and memory usage improvement
...
This new package has significant better resource usage, and we do a _lot_ of JSON parsing in this application, so any amount of improvement becomes significant
2022-01-23 15:17:40 -05:00
Matthew Penner
d8df353ce8
replace deprecated ioutil function calls
2021-11-15 10:24:52 -07:00
Matthew Penner
3c54c1f840
break everything
...
- upgrade dependencies
- run gofmt and goimports to organize code
- fix typos
- other small tweaks
2021-08-02 15:07:00 -06:00
Dane Everitt
49dd1f7bde
Better support for retrying failed requests with the API
...
Also implements more logic error returns from the Get/Post functions in the client, rather than making the developer call r.Error() on responses.
2021-05-02 15:41:02 -07:00
Dane Everitt
3f47bfd292
Add backoff retries to API calls from Wings
2021-05-02 15:16:30 -07:00
Dane Everitt
33f5cb7df4
more accurate naming; for now don't actually change how wings works
2021-03-03 20:53:40 -08:00
Dane Everitt
8897be661b
Fix missing error handling for server configuration endpoints
2021-03-03 20:51:49 -08:00
Dane Everitt
a8ee5463ce
Add logic to reset failed server states on Panel when booting
2021-02-23 21:23:49 -08:00
Dane Everitt
065da77afa
Code cleanup for remote client
2021-02-01 21:43:04 -08:00
Dane Everitt
6775c17324
Nuke more API code and begin consolidation process
2021-02-01 20:50:23 -08:00
Dane Everitt
aa287d21cf
Formatting
2021-02-01 20:33:35 -08:00
Jakob Schrettenbrunner
0414dbed8f
rename panelapi to remote
2021-01-10 22:42:45 +01:00