(perUser *bool)
| 99 | WebhookUseProxy *bool `json:"webhookUseProxy,omitempty"` |
| 100 | } |
| 101 | |
| 102 | func resolveWebhookUseProxy(perUser *bool) bool { |
| 103 | if perUser != nil { |
| 104 | return *perUser |
| 105 | } |
| 106 | return *globalWebhookUseProxy |
| 107 | } |
| 108 | |
| 109 | func proxyConfigResponse(proxyURL string, webhookUseProxy bool) map[string]interface{} { |
no outgoing calls