router.go 209 B

123456789
  1. package nginx_log
  2. import "github.com/gin-gonic/gin"
  3. // InitRouter registers all the nginx log related routes
  4. func InitRouter(r *gin.RouterGroup) {
  5. r.GET("nginx_log", Log)
  6. r.GET("nginx_logs", GetLogList)
  7. }