INNER CODE UNIT · Go

isAlreadyHandled

kudobuilder/kudo · cmd/manager/main.go:214

func isAlreadyHandled(path string, mgr manager.Manager) bool {
	if mgr.GetWebhookServer().WebhookMux == nil {
		return false
	}
	h, p := mgr.GetWebhookServer().WebhookMux.Handler(&http.Request{URL: &url.URL{Path: path}})
	if p == path && h != nil {
		return true
	}
	return false
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…