reflection

package
v0.0.0-...-edc4474 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

README

Grpc Reflection Module

This module is deprecated. The reflection service is always installed on servers produced by fxgrpc.NewModule. It can be safely removed from your system.

This module installs the grpc reflection service on a grpc server instance. It allows tools like grpcurl to discover and interact with available services without needing access to the proto files.

It is sufficient to add this module to your system, next to the grpc server module to enable the functionality.

app := fx.New(fx.Options(
    fxgrpc.NewServerModule(conf),
    reflection.Module,
    fx.Provide(NewMyServerImpl),
    fx.Invoke(
        pb.RegisterMyServer,
        fxgrpc.StartGrpcServer,
    ),
))

Documentation

Overview

Package reflection provides reflection capabilities for grpc servers.

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options()

Add a service that exposes the grpc server proto definition Deprecated: The reflection service is installed by default when using a grpc-server produced by the [fxgrpc] module

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL