Implement per-project webhook secret

This commit is contained in:
simon987
2019-02-24 15:30:38 -05:00
parent c736cc3d98
commit 397805f915
22 changed files with 378 additions and 59 deletions

View File

@@ -172,3 +172,19 @@ type ReleaseAR struct {
Updated bool `json:"updated"`
} `json:"content"`
}
type WebhookSecretAR struct {
Ok bool `json:"ok"`
Message string `json:"message"`
Content struct {
WebhookSecret string `json:"webhook_secret"`
} `json:"content"`
}
type AccountAR struct {
Ok bool `json:"ok"`
Message string `json:"message"`
Content struct {
*storage.Manager `json:"manager"`
} `json:"content"`
}