Remove HTTP/REST server, keep gRPC only
This commit is contained in:
@@ -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"})
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user