2022-09-12 22:12:02 +02:00
|
|
|
package api
|
|
|
|
|
|
|
|
import (
|
2022-09-21 11:06:53 +02:00
|
|
|
"git.front.kjuulh.io/kjuulh/octopush/internal/serverdeps"
|
2022-09-12 22:12:02 +02:00
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
"go.uber.org/zap"
|
|
|
|
)
|
|
|
|
|
|
|
|
func BuildApi(logger *zap.Logger, app *gin.Engine, deps *serverdeps.ServerDeps) {
|
|
|
|
HealthRoute(app)
|
|
|
|
CommandRoute(logger, app, deps)
|
|
|
|
}
|