iptables-helper/internel/route/route.go

13 lines
197 B
Go

package route
import (
"github.com/gofiber/fiber/v2"
"iptables-helper/pkg/config"
)
func SetupRoute(app *fiber.App, conf *config.Conf) {
if conf.Server.EnableSwag {
SwaggerHandler(app)
}
}