MCPcopy Create free account
hub / github.com/authorizerdev/authorizer / registerAll

Function registerAll

internal/gateway/mount.go:210–217  ·  view source on GitHub ↗
(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn)

Source from the content-addressed store, hash-verified

208}
209
210func registerAll(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error {
211 // Public + admin surfaces share this gateway mux (one REST port serves
212 // both). Both dial the same in-process gRPC server over the bufconn.
213 if err := authorizerv1.RegisterAuthorizerServiceHandler(ctx, mux, conn); err != nil {
214 return err
215 }
216 return authorizerv1.RegisterAuthorizerAdminServiceHandler(ctx, mux, conn)
217}

Callers 1

HandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected