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

Function proxyConfigResponse

helpers.go:108–114  ·  view source on GitHub ↗
(proxyURL string, webhookUseProxy bool)

Source from the content-addressed store, hash-verified

106 return *globalWebhookUseProxy
107}
108
109func proxyConfigResponse(proxyURL string, webhookUseProxy bool) map[string]interface{} {
110 return map[string]interface{}{
111 "enabled": proxyURL != "",
112 "proxy_url": proxyURL,
113 "webhook_use_proxy": webhookUseProxy,
114 }
115}
116
117type openGraphResult struct {

Callers 4

GetStatusMethod · 0.85
ListUsersMethod · 0.85
AddUserMethod · 0.85
TestProxyConfigResponseFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestProxyConfigResponseFunction · 0.68