We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 098864e commit b297674Copy full SHA for b297674
bitbucket/bitbucket.go
@@ -0,0 +1,18 @@
1
+package bitbucket
2
+
3
+import "gopkg.in/go-playground/webhooks.v1"
4
5
+// Webhook instance contains all methods needed to process events
6
+type Webhook struct {
7
+ provider webhooks.Provider
8
+ secret string
9
+ eventFuncs map[Event]webhooks.ProcessPayloadFunc
10
+}
11
12
+// Config defines the configuration to create a new GitHubWebhook instance
13
+type Config struct {
14
+ Secret string
15
16
17
+// Event defines a GitHub hook event type
18
+type Event string
0 commit comments