MCPcopy Create free account
hub / github.com/Quorinex/Kiro-Go / apiGetEndpointConfig

Method apiGetEndpointConfig

proxy/handler.go:3489–3494  ·  view source on GitHub ↗

apiGetEndpointConfig 获取端点配置

(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

3487 "interval": session.Interval,
3488 })
3489}
3490
3491func (h *Handler) apiPollBuilderIdAuth(w http.ResponseWriter, r *http.Request) {
3492 var req struct {
3493 SessionID string `json:"sessionId"`
3494 }
3495 if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
3496 w.WriteHeader(400)
3497 json.NewEncoder(w).Encode(map[string]string{"error": "Invalid JSON"})

Callers 1

handleAdminAPIMethod · 0.95

Calls 2

GetPreferredEndpointFunction · 0.92
GetEndpointFallbackFunction · 0.92

Tested by

no test coverage detected