Files
sendico/api/gateway/mntx/main.go
2025-12-04 21:16:15 +01:00

18 lines
483 B
Go

package main
import (
"github.com/tech/sendico/gateway/mntx/internal/appversion"
si "github.com/tech/sendico/gateway/mntx/internal/server"
"github.com/tech/sendico/pkg/mlogger"
"github.com/tech/sendico/pkg/server"
smain "github.com/tech/sendico/pkg/server/main"
)
func factory(logger mlogger.Logger, file string, debug bool) (server.Application, error) {
return si.Create(logger, file, debug)
}
func main() {
smain.RunServer("mntx_gateway", appversion.Create(), factory)
}