1
0
Fork 0
mirror of https://github.com/adnanh/webhook.git synced 2026-07-25 03:08:41 +00:00

Merge remote-tracking branch 'o'

# Conflicts:
#	README.md
#	docs/Webhook-Parameters.md
#	go.mod
#	webhook_test.go
This commit is contained in:
jason.liao 2026-05-09 21:48:19 +08:00
commit 0645b1404f
604 changed files with 102778 additions and 130025 deletions

View file

@ -16,7 +16,7 @@ Usage of webhook:
-hotreload
watch hooks file for changes and reload them automatically
-http-methods string
globally restrict allowed HTTP methods; separate methods with comma
set default allowed HTTP methods (ie. "POST"); separate methods with comma
-ip string
ip the webhook should serve hooks on (default "0.0.0.0")
-key string
@ -27,6 +27,8 @@ Usage of webhook:
send log output to a file; implicitly enables verbose logging
-max-concurrency int
default maximum number of concurrent executions per hook; 0 disables the limit
-max-multipart-mem int
maximum memory in bytes for parsing multipart form data before disk caching (default 1048576)
-nopanic
do not panic if hooks cannot be loaded when webhook is not running in verbose mode
-pidfile string
@ -39,6 +41,8 @@ Usage of webhook:
set group ID after opening listening port; must be used with setuid
-setuid int
set user ID after opening listening port; must be used with setgid
-socket string
path to a Unix socket (e.g. /tmp/webhook.sock) or Windows named pipe (e.g. \\.\pipe\webhook) to use instead of listening on an ip and port; if specified, the ip and port options are ignored
-template
parse hooks file as a Go template
-tls-min-version string