Documentation ¶
Overview ¶
Package webhooks provides a series of HTTP handlers for managing webhooks in a compatible database.
Index ¶
Constants ¶
View Source
const ( // WebhookIDURIParamKey is a standard string that we'll use to refer to webhook IDs with. WebhookIDURIParamKey = "webhookID" // WebhookTriggerEventIDURIParamKey is a standard string that we'll use to refer to webhook trigger event IDs with. WebhookTriggerEventIDURIParamKey = "webhookTriggerEventID" )
Variables ¶
View Source
var ( // Providers are our collection of what we provide to other services. Providers = wire.NewSet( ProvideWebhooksService, ) )
Functions ¶
func ProvideWebhooksService ¶
func ProvideWebhooksService( logger logging.Logger, cfg *Config, webhookDataManager types.WebhookDataManager, encoder encoding.ServerEncoderDecoder, routeParamManager routing.RouteParamManager, publisherProvider messagequeue.PublisherProvider, tracerProvider tracing.TracerProvider, ) (types.WebhookDataService, error)
ProvideWebhooksService builds a new WebhooksService.
Types ¶
Click to show internal directories.
Click to hide internal directories.