go-twitch/eventsub/webhook/options.go

17 lines
378 B
Go
Raw Permalink Normal View History

2024-03-05 12:14:18 -05:00
package webhook
import "go.fifitido.net/twitch/eventsub/events"
type TransportOptions struct {
// The address to serve the webhook on.
//
// If not specified it uses the default value :8080
Address *string
// The full callback url where the webhook will be accessible.
CallbackURL string
EventsHandler events.Handler
RevocationHandler events.RevocationHandler
}