add opts struct to class logo method
All checks were successful
Build and Publish / check-chart (push) Successful in 14s
Build and Publish / helm-release (push) Successful in 59s
Build and Publish / release (push) Successful in 3m46s

This commit is contained in:
2025-07-08 20:44:24 -04:00
parent d5abda89a1
commit 7e78b271f4
3 changed files with 25 additions and 8 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"
class "gitea.libretechconsulting.com/rmcguire/class-server/api/class/v1alpha1"
"gitea.libretechconsulting.com/rmcguire/class-server/pkg/classgrpc"
"gitea.libretechconsulting.com/rmcguire/class-server/pkg/config"
"gitea.libretechconsulting.com/rmcguire/class-server/pkg/demogrpc"
@ -52,7 +53,11 @@ func main() {
demoHTTP := demohttp.NewDemoHTTPServer(ctx, demoApp)
demoGRPC := demogrpc.NewDemoGRPCServer(ctx, demoApp)
classGRPC := classgrpc.New(ctx)
classGRPC := classgrpc.New(&classgrpc.ClassServiceOpts{
Ctx: ctx,
Font: class.Font_FONT_AVATAR,
Text: "Indiana Tech Net 1500",
})
// Prepare app
app := &app.App{