Commit Graph

16 Commits (feb48ee4bcdd046f87797cbca289037d348bbb39)

Author SHA1 Message Date
Bel LaPointe 6ca1f83727 stub handling GET /.../messages 2024-04-12 11:23:30 -06:00
Bel LaPointe 0d3910829d if $POSTGRES_CONN set then use it 2024-04-12 10:00:13 -06:00
Bel LaPointe 8f288cf12e impl Postgres driver 2024-04-12 09:58:32 -06:00
Bel LaPointe 1b148092b9 on slack webhook storage.Upsert message 2024-04-12 09:22:42 -06:00
Bel LaPointe 24628f4ebb Config has a .storage, .queue, .driiver 2024-04-12 09:21:36 -06:00
Bel LaPointe 82fc7526d0 main parses incoming slack event 2024-04-12 09:15:16 -06:00
Bel LaPointe fb5e7b580e log not impl'd slack event 2024-04-11 17:21:44 -06:00
Bel LaPointe bdc40e91b4 only write METHOD PATH | BODY if $DEBUG=true 2024-04-11 17:21:07 -06:00
Bel LaPointe 64af8f5085 only handle slack events in $SLACK_CHANNELS csv 2024-04-11 17:19:32 -06:00
Bel LaPointe 6a6524692a POST /api/v1/events/slack asserts .token==$SLACK_TOKEN 2024-04-11 17:11:43 -06:00
Bel LaPointe 2372fa8bb9 route /api/v1/events/slack differently when INITIALIZE_SLACK=true 2024-04-11 17:02:03 -06:00
Bel LaPointe 967d33b03b log 2024-04-11 16:51:23 -06:00
Bel LaPointe 84e4600737 http.ServeMux to route POST /api/v1/events/x$ 2024-04-11 16:49:17 -06:00
Bel LaPointe bf7e067628 log access 2024-04-11 16:39:56 -06:00
Bel LaPointe 4c4d92478d to Config struct for configging 2024-04-11 16:36:23 -06:00
Bel LaPointe 8b732b196d An http server 2024-04-11 16:07:39 -06:00