all repos

onasty @ 3a9fcfacf8090e0a81115a68e14c1a599df6ff2a

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.2-alpine to 1.24.3-alpine in /mailer (#125)... 9 months ago 2025-06-05 16:18:27 +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: add cors (#115)... 9 months ago 2025-05-23 16:59:35 +0300
service.go feat: notes manipulations for the note authors (#117)... 9 months ago 2025-06-05 16:17:32 +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