mirror of https://github.com/statping/statping
![]() The Email notifier was using `map[string]interface{}` to "put" the information (like Service and Failure struct) into the template. The value of a map can only be used with `{{ index . "Service" }}` in a GoLang template. To simplify – and reduce the needed changes – `emailOutgoing` now contains for the `Data` field an extra struct with `Service` and `Failure` fields. This patch fixes #472. |
||
---|---|---|
.. | ||
configs.go | ||
doc.go | ||
encryption.go | ||
file.go | ||
log.go | ||
metrics.go | ||
perlin.go | ||
replacer.go | ||
time.go | ||
utils.go | ||
utils_custom.go | ||
utils_test.go | ||
utils_windows.go |