readme: Update explanation for resolved alerts
Priority is supported as well.
implement priority for resolved alerts
Send HTTP error code when failing to decode payload
Remove unnecessary Body.close() calls
The server will close those.
publish: Move fingerprint conversion to config parsing
We only really need to do it once, not every time a new message gets
published.
publish: Improve certificate fingerprint output
config.scfg: Add instructions to obtain cert fingerprint
publish: Improve certificate verification
Remove colons and convert to lower case. hex.EncodeToString outputs a
lower case string.
ci: Don't fail on staticcheck
Upgrade go-utils
Maybe I should really set GOPROXY="direct"...
Add option for setting the logging format
Use Logger.With to create child loggers for the handlers
With that it will be easier to check on which endpoint a failure
happened.
Use "log/slog" for logging
functions: Use slices package for sorting
From Go 1.21 release notes[1]:
New slices package for common operations on slices of any element type.
This includes sorting functions that are generally faster and more
ergonomic than the sort package.
[1]: https://go.dev/blog/go1.21
Use slices.Contains from the standard library