server: implement messages and gRPC support for creating messages
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"os"
|
||||
|
||||
"git.dubyatp.xyz/dubyatp/scannerbot/server/api"
|
||||
grpcserver "git.dubyatp.xyz/dubyatp/scannerbot/server/grpc"
|
||||
"github.com/joho/godotenv"
|
||||
)
|
||||
|
||||
@@ -35,6 +36,8 @@ func main() {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
go grpcserver.Start()
|
||||
|
||||
slog.Info("Starting the API server...")
|
||||
api.Start()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user