A small framework for creating Twitch EventSub applications with an HTTP transport.
Note: At the moment, this library does not support the WebSocket transport.
This package has two main features:
- A
SubClient
to subscribe to, unsubscribe to, and list subscriptions created with EventSub - A
SubHandler
to handle webhook verification requests and dispatch webhook notifications
- See examples/sub_client/main.go for an example usage of creating a new webhook subscription.
- See examples/sub_handler/main.go for an example usage of receiving webhook notifications from Twitch.