MCPcopy Index your code
hub / github.com/authorizerdev/authorizer / GRPCServer

Method GRPCServer

internal/grpcsrv/server.go:102–102  ·  view source on GitHub ↗

GRPCServer exposes the underlying *grpc.Server. Used by the in-process REST gateway mount to dial via bufconn during tests.

()

Source from the content-addressed store, hash-verified

100// GRPCServer exposes the underlying *grpc.Server. Used by the in-process
101// REST gateway mount to dial via bufconn during tests.
102func (s *Server) GRPCServer() *grpc.Server { return s.srv }
103
104// Run starts the listener and blocks until ctx is cancelled or Serve errors.
105// On context cancellation, the server is gracefully stopped (existing RPCs

Callers 14

bootRESTGatewayFunction · 0.80
TestMCPListAndCallMetaFunction · 0.80
bootGRPCBufconnFunction · 0.80
newAdminClientFunction · 0.80
TestGRPCMetaFunction · 0.80
newPublicClientFunction · 0.80
TestRESTMetaFunction · 0.80
newAdminRESTServerFunction · 0.80
newAdminClientWithSetupFunction · 0.80

Calls

no outgoing calls

Tested by 12

bootRESTGatewayFunction · 0.64
TestMCPListAndCallMetaFunction · 0.64
bootGRPCBufconnFunction · 0.64
newAdminClientFunction · 0.64
TestGRPCMetaFunction · 0.64
newPublicClientFunction · 0.64
TestRESTMetaFunction · 0.64
newAdminRESTServerFunction · 0.64
newAdminClientWithSetupFunction · 0.64