MCPcopy Create free account
hub / github.com/asternic/wuzapi / resolveWebhookUseProxy

Function resolveWebhookUseProxy

helpers.go:101–106  ·  view source on GitHub ↗
(perUser *bool)

Source from the content-addressed store, hash-verified

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

Callers 3

AddUserMethod · 0.85
SetProxyMethod · 0.85

Calls

no outgoing calls

Tested by 1