feat(logging): added in db and logging with websocket
This commit is contained in:
12
backend/cmd/services/logging/logger.go
Normal file
12
backend/cmd/services/logging/logger.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package logging
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func RegisterLoggerRoutes(l *gin.Engine, baseUrl string) {
|
||||
|
||||
configGroup := l.Group(baseUrl + "/api/logger")
|
||||
configGroup.GET("/logs", GetLogs)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user