MCPcopy Create free account
hub / github.com/clouditor/clouditor / WithReflection

Function WithReflection

server/grpc.go:93–97  ·  view source on GitHub ↗

WithReflection is an option for [StartGRPCServer] to enable gRPC reflection.

()

Source from the content-addressed store, hash-verified

91
92// WithReflection is an option for [StartGRPCServer] to enable gRPC reflection.
93func WithReflection() StartGRPCServerOption {
94 return func(c *config) {
95 c.reflection = true
96 }
97}
98
99// WithPublicEndpoints is an option for [StartGRPCServer] to enable public endpoints.
100func WithPublicEndpoints(endpoints []string) StartGRPCServerOption {

Callers 2

LaunchMethod · 0.92
TestMainFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestMainFunction · 0.74