No description
  • Go 97.7%
  • Dockerfile 2.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
bivashy ba65ed0509
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
Implement RetryNotFoundTimes
2026-09-10 15:35:25 +05:00
.env.example Initial commit 2026-09-08 16:31:28 +05:00
.gitignore Initial commit 2026-09-08 16:31:28 +05:00
.woodpecker.yml Remove redundant depends_on in CI/CD 2026-09-08 16:32:04 +05:00
config.go Initial commit 2026-09-08 16:31:28 +05:00
Dockerfile Fix -o flag in Dockerfile 2026-09-08 16:49:58 +05:00
go.mod Initial commit 2026-09-08 16:31:28 +05:00
go.sum Initial commit 2026-09-08 16:31:28 +05:00
handler.go Initial commit 2026-09-08 16:31:28 +05:00
LICENSE Initial commit 2026-09-08 16:31:28 +05:00
mailchecker.go Implement RetryNotFoundTimes 2026-09-10 15:35:25 +05:00
main.go Initial commit 2026-09-08 16:31:28 +05:00
README.md Initial commit 2026-09-08 16:31:28 +05:00
service.go Initial commit 2026-09-08 16:31:28 +05:00

mail-healthchecker

Simple mail http server healthchecking standalone application written in Golang. It uses IMAP to check if mail is received and STMP to send mails.

It only exposes one endpoint /healthz

How it works?

  • First application enters initializing state, it will return 202 Accepted in HTTP response.
  • Then it checks IMAP connection, sends test mail, searches it using custom header, and purges it.
  • If previous step will not fail at any point HTTP response will return 200 OK.
  • If there are no IMAP connection/cannot send test mail/cannot find received mail it will enter into failed mode, and returns 503