mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-05-18 13:45:13 +02:00
chore: add copyright headers, CI tests, and sanitize gitignore
This commit is contained in:
parent
5cbb3d89d3
commit
d1f844235e
325 changed files with 2267 additions and 902 deletions
|
|
@ -1,3 +1,7 @@
|
|||
// Copyright 2026 Syntrex Lab. All rights reserved.
|
||||
// Use of this source code is governed by an Apache-2.0 license
|
||||
// that can be found in the LICENSE file.
|
||||
|
||||
package soc
|
||||
|
||||
import (
|
||||
|
|
@ -23,12 +27,12 @@ const (
|
|||
|
||||
// WebhookConfig defines a webhook destination.
|
||||
type WebhookConfig struct {
|
||||
ID string `yaml:"id" json:"id"`
|
||||
URL string `yaml:"url" json:"url"`
|
||||
ID string `yaml:"id" json:"id"`
|
||||
URL string `yaml:"url" json:"url"`
|
||||
Events []WebhookEventType `yaml:"events" json:"events"`
|
||||
Headers map[string]string `yaml:"headers" json:"headers"`
|
||||
Active bool `yaml:"active" json:"active"`
|
||||
Retries int `yaml:"retries" json:"retries"`
|
||||
Headers map[string]string `yaml:"headers" json:"headers"`
|
||||
Active bool `yaml:"active" json:"active"`
|
||||
Retries int `yaml:"retries" json:"retries"`
|
||||
}
|
||||
|
||||
// WebhookPayload is the JSON body sent to webhook endpoints.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue