all repos

onasty @ b3a528af9e74a124dbb79687ebb116ce8a8c8e8c

a one-time notes service
name last commit last update
..
.env.example web: forgot password (#169)... 7 months ago 2025-07-22 14:16:33 +0300
.envrc chore: add direnv (#64)... 1 year ago 2025-01-11 02:38:20 +0200
README.md feat(api): change email (#191)... 6 months ago 2025-08-22 17:29:55 +0300
config.go refactor(config): make config singleton (#202)... 6 months ago 2025-09-01 12:55:29 +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 web: forgot password (#169)... 7 months ago 2025-07-22 14:16:33 +0300
metrics.go feat: add cors (#115)... 9 months ago 2025-05-23 16:59:35 +0300
service.go web: forgot password (#169)... 7 months ago 2025-07-22 14:16:33 +0300
template.go feat(api): change email (#191)... 6 months ago 2025-08-22 17:29:55 +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