Remove HTTP/REST server, keep gRPC only

This commit is contained in:
Alexander
2026-05-06 21:45:48 +02:00
parent 5fa46b2890
commit 67f46f740b
6 changed files with 37 additions and 155 deletions
-13
View File
@@ -1,13 +0,0 @@
package indexer
import (
"net/http"
"github.com/gin-gonic/gin"
)
func SetupRoutes(r *gin.RouterGroup) {
r.GET("/", func(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"message": "hello from indexer"})
})
}
-15
View File
@@ -1,15 +0,0 @@
package router
import (
"homelab.lan/music-agregator/internal/indexer"
"github.com/gin-gonic/gin"
)
func SetupRoutes(r *gin.Engine) {
api := r.Group("/api/v1")
indexerGroup := api.Group("/indexer")
indexer.SetupRoutes(indexerGroup)
}
+1 -1
View File
@@ -8,7 +8,7 @@ import (
)
func TestParserFactory_GetParser(t *testing.T) {
f := NewParserFactory()
f := NewRuTrackerParserFactory()
tests := []struct {
name string