Documentation
¶
Overview ¶
API endpoint handlers.
Endpoints:
* GET /api/v0/health - HealthCheckHandler returns status code 200 if server is OK
* POST /api/v0/slack/webhook - SlackWebhookHandler Receives Slack events
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheckHandler ¶
HealthHandler returns status code 200 if API is OK
func (HealthCheckHandler) ServeHTTP ¶
func (h HealthCheckHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP responds to HTTP requests
type SlackWebhookHandler ¶
SlackWebhookHandler receives Slack events
func (SlackWebhookHandler) ServeHTTP ¶
func (h SlackWebhookHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP responds to HTTP requests
Click to show internal directories.
Click to hide internal directories.