Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookFetcher ¶
type WebhookFetcher struct {
// contains filtered or unexported fields
}
func NewWebhookFetcher ¶
func NewWebhookFetcher(token, webhookURLPrefix string) (*WebhookFetcher, error)
func NewWebhookFetcherWithCert ¶
func NewWebhookFetcherWithCert(token, webhookURLPrefix string, certFile interface{}) (*WebhookFetcher, error)
func (*WebhookFetcher) Fetch ¶
func (fetcher *WebhookFetcher) Fetch(ctx context.Context) <-chan multibot.Update
func (*WebhookFetcher) WithDebug ¶
func (fetcher *WebhookFetcher) WithDebug(debugMode bool) *WebhookFetcher
Click to show internal directories.
Click to hide internal directories.