feat: add CODEOWNERS, PR template, and /health endpoint

This commit is contained in:
RCD
2026-02-23 15:38:56 +07:00
parent f4f66ad0d3
commit dd41652e99
3 changed files with 48 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# Default owner for the entire repository
* @Finesssee
# Core proxy logic
/internal/runtime/executor/ @Finesssee
/internal/translator/ @Finesssee
/sdk/ @Finesssee
# Authentication providers
/internal/auth/ @Finesssee
# API and middleware
/internal/api/ @Finesssee
# WebUI dashboard
/webui/ @Finesssee
# CI/CD and infrastructure
/.github/ @Finesssee
/Dockerfile @Finesssee
/docker-compose.yml @Finesssee
/.goreleaser.yml @Finesssee
+21
View File
@@ -0,0 +1,21 @@
## Description
<!-- What does this PR do? Why is it needed? -->
## Changes
<!-- List the key changes made -->
-
## Testing
<!-- How was this tested? -->
- [ ] `go test ./...` passes
- [ ] `go vet ./...` passes
- [ ] Manually tested with relevant provider(s)
## Checklist
- [ ] Code follows existing patterns and conventions
- [ ] No secrets or credentials committed
- [ ] No changes under `internal/translator/` (restricted path)
+5
View File
@@ -338,6 +338,11 @@ func (s *Server) setupRoutes() {
v1beta.GET("/models/*action", geminiHandlers.GeminiGetHandler)
}
// Health check endpoint
s.engine.GET("/health", func(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"status": "ok"})
})
// Root endpoint
s.engine.GET("/", func(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{