Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GRPCModule for fx. GRPCModule = fx.Options( fx.Provide(grpc.NewServer), fx.Provide(grpc.UnaryServerInterceptor), fx.Provide(grpc.StreamServerInterceptor), fx.Provide(gprometheus.NewServerCollector), fx.Provide(gprometheus.NewClientCollector), fx.Provide(gtracer.NewTracer), ) // HTTPModule for fx. HTTPModule = fx.Options( fx.Provide(http.NewServer), fx.Provide(hprometheus.NewServerCollector), fx.Provide(hprometheus.NewClientCollector), fx.Provide(htracer.NewTracer), ) // NSQModule for fx. NSQModule = fx.Options( fx.Provide(nprometheus.NewProducerCollector), fx.Provide(nprometheus.NewConsumerCollector), fx.Provide(ntracer.NewTracer), fx.Provide(marshaller.NewMsgPack), ) // Module for fx. Module = fx.Options( GRPCModule, HTTPModule, NSQModule, fx.Invoke(Register), ) )
View Source
var ErrInvalidPort = errors.New("invalid port")
ErrInvalidPort for transport.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.