mirror of
https://github.com/Finesssee/ProxyPilot.git
synced 2026-11-20 20:34:36 +00:00
feat: add CODEOWNERS, PR template, and /health endpoint
This commit is contained in:
@@ -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
|
||||
@@ -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)
|
||||
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user