package
0.1.0
Repository: https://github.com/xmlking/grpc-starter-kit.git
Documentation: pkg.go.dev

# README

Emailer Service

This is the Emailer service

Showcase

  1. Async service

Usage

A Makefile is included for convenience

Build the binary

make build TARGET=emailer TYPE=service VERSION=v0.1.1

Run the service

make run-emailer
# or
go run service/emailer/main.go

Build a docker image

make docker TARGET=emailer TYPE=service VERSION=v0.1.1

Test the service

curl -X POST \
    -H "content-type: application/json"  \
    -H "ce-specversion: 1.0"  \
    -H "ce-source: curl-command"  \
    -H "ce-type: curl.demo"  \
    -H "ce-id: 123-abc"  \
    -d '{"Subject": "Sumo", "To": "[email protected]"}' \
    http://localhost:8082

# Packages

No description provided by the author
No description provided by the author
No description provided by the author