You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2024. It is now read-only.
HttpMethods=flag.String("http-methods", DEFAULT_HTTP_METHODS, `set default allowed HTTP methods (ie. "POST"); separate methods with comma`)
48
58
PidPath=flag.String("pidfile", DEFAULT_PID_FILE, "create PID file at the given path")
49
59
50
-
JustDisplayVersion=flag.Bool("version", false, "display webhook version and quit")
51
-
ResponseHeadershook.ResponseHeaders
60
+
ShowVersion=flag.Bool("version", false, "display webhook version and quit")
61
+
ResponseHeaders hook.ResponseHeaders
52
62
)
53
63
54
-
flag.Var(&rules.HooksFiles, "hooks", "path to the json file containing defined hooks the webhook should serve, use multiple times to load from different files")
64
+
hooksFiles:=rules.HooksFiles
65
+
flag.Var(&hooksFiles, "hooks", "path to the json file containing defined hooks the webhook should serve, use multiple times to load from different files")
55
66
flag.Var(&ResponseHeaders, "header", "response header to return, specified in format name=value, use multiple times to set multiple headers")
0 commit comments