Configure routing

This commit is contained in:
Alexander
2026-05-03 16:10:24 +02:00
parent 58aa4ef23b
commit 6baa895c6c
5 changed files with 55 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
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"})
})
}