with aero

This commit is contained in:
2022-09-10 20:20:49 +02:00
parent 5b0d4626b6
commit c42d3761a4
6 changed files with 248 additions and 12 deletions

View File

@@ -1 +1,19 @@
package server
import (
"context"
"git.front.kjuulh.io/kjuulh/curre"
"git.front.kjuulh.io/kjuulh/kraken/internal/serverdeps"
"go.uber.org/zap"
)
func Start(logger *zap.Logger) error {
ctx := context.Background()
deps := serverdeps.NewServerDeps(logger)
return curre.NewManager().
Register(NewAeroHttpServer(deps)).
Run(ctx)
}