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(gtracer.NewTracer), ) // HTTPModule for fx. HTTPModule = fx.Options( fx.Provide(http.NewServer), fx.Provide(htracer.NewTracer), ) // NSQModule for fx. NSQModule = fx.Options( fx.Provide(ntracer.NewTracer), fx.Provide(nsq.NewMsgPackMarshaller), ) // 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.