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

Method apiGetVersion

proxy/handler.go:3577–3581  ·  view source on GitHub ↗

apiGetVersion 获取版本信息

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

Source from the content-addressed store, hash-verified

3575 json.NewEncoder(w).Encode(map[string]string{"error": "bearerToken is required"})
3576 return
3577 }
3578
3579 // 支持批量导入,按行分割
3580 tokens := strings.Split(strings.TrimSpace(req.BearerToken), "\n")
3581 var imported []map[string]interface{}
3582 var errors []string
3583
3584 for _, token := range tokens {

Callers 1

handleAdminAPIMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected