Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xUnixIO/pulse
/ writeJSONError
Function
writeJSONError
internal/payment/shop.go:272–274 ·
view source on GitHub ↗
(w http.ResponseWriter, status int, message string)
Source
from the content-addressed store, hash-verified
270
}
271
272
func
writeJSONError(w http.ResponseWriter, status int, message string) {
273
writeJSON(w, status,
map
[string]string{
"error"
: message})
274
}
Callers
3
requireAdmin
Method · 0.85
listPlansHandler
Method · 0.85
createCheckoutHandler
Method · 0.85
Calls
1
writeJSON
Function · 0.70
Tested by
no test coverage detected