forked from forgejo/forgejo
webhook APIs
This commit is contained in:
parent
2f08e9f048
commit
55ddf225bb
12 changed files with 138 additions and 78 deletions
|
@ -99,6 +99,9 @@ func (f *NewWebhookForm) Validate(ctx *macaron.Context, errs binding.Errors) bin
|
|||
type NewSlackHookForm struct {
|
||||
PayloadURL string `binding:"Required`
|
||||
Channel string `binding:"Required"`
|
||||
Username string
|
||||
IconURL string
|
||||
Color string
|
||||
WebhookForm
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue