improves godoc comments for gRPC server and logger components

This commit is contained in:
2025-08-14 09:03:44 -04:00
parent 9cee9037e4
commit e1d58c0094
2 changed files with 7 additions and 6 deletions

View File

@@ -31,8 +31,9 @@ type appGRPCServer struct {
doneChan chan error
}
// Returns a shutdown func, a channel indicating done / error,
// and an up-front error if server fails to start
// InitGRPCServer initializes and starts a gRPC server.
// It returns a shutdown function, a channel to signal completion or error,
// and an error if the server fails to start.
func InitGRPCServer(ctx context.Context, opts *opts.GRPCOpts) (
func(context.Context) error, <-chan error, error,
) {