Skip to content

tejo/notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notifier

With go installed you can build it with:

make build

And you can run it with:

./notify -dummyserver --interval=1s --url http://localhost:8080/notify < messages.txt

If you prefer you can use docker to run it:

docker build -t notifier .

docker run -it notifier /bin/bash -c "./notify -dummyserver --interval=1s --url http://localhost:8080/notify < messages.txt"

You can tun test with: make test and with the flag -dummyserver it will start a test server on port 8080 and receives requests to /notify and returns a dummy response containing the request body.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published