Samson lives in a cave, and he loves lying in his hammock, cuddling with his "Schnuffeltuch" (his security blanket), and dancing.
"Ich bin Samson, und ich schaff's!" -- Samson
An Erlang OTP application serving as a chatbot backend.
rebar3 compile
rebar3 eunit
To start only samson with rebar3:
rebar3 shell
To start samson with its external dependencies:
docker-compose up -d
GET /health
# Returns 200 - {"status": "up"}
GET /metrics
# Returns 200 - text
Returns Prometheus Metrics
Handles incoming events and response according to Google Chat API. Body is in format of events.
POST /gchat/$GOOGLE_CHAT_ENDPOINT
# Returns 200 - {"text": "answer"}