Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InitGrpcBeforeServingFx = fx.Options( fx.Provide( InitGrpcBeforeServing, ), )
InitGrpcBeforeServingFx : constructor for InitGrpcBeforeServing method.
Functions ¶
func InitGrpcBeforeServing ¶
func InitGrpcBeforeServing(config *config.Config, tracer opentracing.Tracer) (*grpc.Server, net.Listener)
InitGrpcBeforeServing InitGrpcBeforeServing: give the instance of server and listener.
func RegisterGrpcModules ¶
func RegisterGrpcModules(srv *grpc.Server, db *gorm.DB, config *config.Config, grpcClientConnection *grpc.ClientConn)
RegisterGrpcModules Todo : Whenever any new modules will be in goarcc : it must be registered in below method
RegisterGrpcModules: will register the modules/services to the server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.