Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Provide(NewFXGrpcServer)
Functions ¶
func NewFXGrpcServer ¶
func NewFXGrpcServer(serverDefinition FxGrpcServerDefinition) fxapp.FxApp
Types ¶
type FxGrpcServer ¶
type FxGrpcServer struct {
// contains filtered or unexported fields
}
type FxGrpcServerDefinition ¶
type FxGrpcServerDefinition interface { RegisterService(grpcServer *grpc.Server) GetUnaryServerInterceptors() []grpc.UnaryServerInterceptor GetStreamServerInterceptors() []grpc.StreamServerInterceptor }
Click to show internal directories.
Click to hide internal directories.