MCPcopy Create free account
hub / github.com/astercloud/aster / Conflict

Function Conflict

pkg/server/response.go:116–118  ·  view source on GitHub ↗

Conflict 辅助函数:409 Conflict

(w http.ResponseWriter, message string)

Source from the content-addressed store, hash-verified

114
115// Conflict 辅助函数:409 Conflict
116func Conflict(w http.ResponseWriter, message string) {
117 Error(w, http.StatusConflict, "conflict", message)
118}
119
120// ParseJSON 解析 JSON 请求体
121func ParseJSON(r *http.Request, v any) error {

Callers

nothing calls this directly

Calls 1

ErrorFunction · 0.70

Tested by

no test coverage detected