Sign inSign up

microservices/email

By microservices

•Updated over 7 years ago

An email microservice.

Image
0

169

microservices/email repository overview

⁠UrbanAirship as a microservice

An OMG service for UrbanAirship, it allows to push messaging to multiple device

Open Microservice Guide Build Status codecov GolangCI

⁠OMG⁠ CLI

⁠OMG
  • omg validate
omg validate
  • omg build
omg build
⁠Test Service
  • Test the service by following OMG commands
⁠CLI
⁠Send Message By Tag
$ omg run send -a tag=<TAG> -a message=<MESSAGE> -a device_list=<DEVICE LIST ARRAY> -e APP_KEY=<APP_KEY> -e MASTER_SECRET=<MASTER_SECRET> 
⁠Example
$ omg run send -a tag="rohit-tag" -a message="This is test message" -a device_list="[\"android\"]" -e APP_KEY=<APP_KEY> -e MASTER_SECRET=<MASTER_SECRET> 
⁠Send Message By Named User
$ omg run send -a named_user=<NAMED_USER> -a message=<MESSAGE> -a device_list=<DEVICE LIST ARRAY> -e APP_KEY=<APP_KEY> -e MASTER_SECRET=<MASTER_SECRET>
⁠Send Message By Channel Id
$ omg run send -a channel_id=<CHANNEL_ID> -a channel_type=<CHANNEL_TYPE> -a message=<MESSAGE> -a device_list=<DEVICE LIST ARRAY> -e APP_KEY=<APP_KEY> -e MASTER_SECRET=<MASTER_SECRET>

⁠License

⁠MIT⁠

⁠Docker

⁠Build
docker build -t microservice-urbanairship .
⁠RUN
docker run -p 3000:3000 microservice-urbanairship

Tag summary

Content type

Image

Digest

Size

287.2 MB

Last updated

over 7 years ago

docker pull microservices/email