all repos

onasty @ 7ada79b8ccf2044b3d00869a5368d4c5c1c6939c

a one-time notes service
name last commit last update
..
.env.example feat: mailer service (#55)... 1 year ago 2025-01-10 22:25:33 +0200
.envrc chore: add direnv (#64)... 1 year ago 2025-01-11 02:38:20 +0200
Dockerfile chore(deps): bump golang from 1.24.0-alpine to 1.24.1-alpine in /mailer (#91)... 10 months ago 2025-04-16 17:37:19 +0300
README.md feat: reset password (#110)... 9 months ago 2025-05-17 16:25:31 +0300
config.go feat: add oauth2 login for google and github (#109)... 10 months ago 2025-05-09 15:56:51 +0300
handlers.go feat: mailer service (#55)... 1 year ago 2025-01-10 22:25:33 +0200
mailgun.go feat: mailer service (#55)... 1 year ago 2025-01-10 22:25:33 +0200
main.go refactor: fix annoyances (#97)... 10 months ago 2025-04-22 00:54:46 +0300
metrics.go feat: mailer service (#55)... 1 year ago 2025-01-10 22:25:33 +0200
service.go feat: reset password (#110)... 9 months ago 2025-05-17 16:25:31 +0300
template.go feat: reset password (#110)... 9 months ago 2025-05-17 16:25:31 +0300
version feat: mailer service (#55)... 1 year ago 2025-01-10 22:25:33 +0200

mailer service

All templates could be found here

endpoints

mailer.ping

This endpoint always returns pong message

Response:

{
  "message": "pong"
}

mailer.send

Input

Example input

{
  "request_id": "hello_world",
  "receiver": "onasty@example.com",
  "template_name": "email_verification",
  "options": {
    "token": "the_verification_token"
  }
}

Template specific options