implement class logo
All checks were successful
Build and Publish / check-chart (push) Successful in 20s
Build and Publish / helm-release (push) Has been skipped
Build and Publish / release (push) Successful in 4m55s

This commit is contained in:
2025-07-08 16:28:53 -04:00
parent bfcebb63c5
commit 1e8d3abf8a
14 changed files with 1715 additions and 22 deletions

View File

@ -23,6 +23,7 @@ import (
optsgrpc "gitea.libretechconsulting.com/rmcguire/go-app/pkg/srv/grpc/opts"
optshttp "gitea.libretechconsulting.com/rmcguire/go-app/pkg/srv/http/opts"
"gitea.libretechconsulting.com/rmcguire/class-server/pkg/classgrpc"
"gitea.libretechconsulting.com/rmcguire/class-server/pkg/config"
"gitea.libretechconsulting.com/rmcguire/class-server/pkg/demogrpc"
"gitea.libretechconsulting.com/rmcguire/class-server/pkg/demohttp"
@ -51,12 +52,14 @@ func main() {
demoHTTP := demohttp.NewDemoHTTPServer(ctx, demoApp)
demoGRPC := demogrpc.NewDemoGRPCServer(ctx, demoApp)
classGRPC := classgrpc.New(ctx)
// Prepare app
app := &app.App{
AppContext: ctx,
GRPC: &optsgrpc.AppGRPC{
Services: demoGRPC.GetServices(),
GRPCDialOpts: demoGRPC.GetDialOpts(),
Services: append(demoGRPC.GetServices(), classGRPC.GetServices()...),
GRPCDialOpts: append(demoGRPC.GetDialOpts(), classGRPC.GetDialOpts()...),
},
HTTP: &optshttp.AppHTTP{
Ctx: ctx,