go-twitch/api/eventsub/eventsub.go

19 lines
242 B
Go
Raw Permalink Normal View History

2024-02-27 22:13:57 -05:00
package eventsub
import (
"net/http"
"net/url"
)
type EventSub struct {
client *http.Client
baseUrl *url.URL
}
func New(client *http.Client, baseUrl *url.URL) *EventSub {
return &EventSub{
client: client,
baseUrl: baseUrl,
}
}