1
0
mirror of https://github.com/zitadel/zitadel.git synced 2025-06-15 22:58:34 +00:00

18 lines
211 B
Go
Raw Normal View History

package webhook
import (
"net/http"
"net/url"
)
type Config struct {
CallURL string
Method string
Headers http.Header
}
func (w *Config) Validate() error {
_, err := url.Parse(w.CallURL)
return err
}