all repos

onasty @ 7dbb390

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 EEST
.envrc chore: add direnv (#64) 1 year ago 2025-01-11 02:38:20 EET
README.md feat(api): change email (#191) 6 months ago 2025-08-22 17:29:55 EEST
config.go refactor(config): make config singleton (#202) 6 months ago 2025-09-01 12:55:29 EEST
handlers.go feat: mailer service (#55) 1 year ago 2025-01-10 22:25:33 EET
mailgun.go feat: mailer service (#55) 1 year ago 2025-01-10 22:25:33 EET
main.go web: forgot password (#169) 7 months ago 2025-07-22 14:16:33 EEST
metrics.go feat: add cors (#115) 9 months ago 2025-05-23 16:59:35 EEST
service.go web: forgot password (#169) 7 months ago 2025-07-22 14:16:33 EEST
template.go feat(api): change email (#191) 6 months ago 2025-08-22 17:29:55 EEST
version feat: mailer service (#55) 1 year ago 2025-01-10 22:25:33 EET

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