[message pusher] - standlone gin service

This commit is contained in:
zeaslity
2024-04-23 11:45:32 +08:00
parent 30d83f3c61
commit 16541183ef
41 changed files with 1481 additions and 133 deletions

View File

@@ -0,0 +1,15 @@
package router
import (
"github.com/gin-gonic/gin"
"net/http"
)
func OctopusRouter(r *gin.Engine) {
octopusGroup := r.Group("/octopus")
{
octopusGroup.GET("/", func(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"message": "Welcome to octopus route group"})
})
}
}