Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RegisterParams ¶
type RegisterParams struct { fx.In GRPCServer *grpc.Server HTTPServer *http.Server Config *tgrpc.Config Logger *zap.Logger Cache *cache.Cache Producer *nsq.Producer }
RegisterParams for gRPC.
type Server ¶ added in v1.58.2
type Server struct {
api.UnimplementedGreeterServer
}
Server for grpc.
func (*Server) SayHello ¶ added in v1.58.2
func (s *Server) SayHello(ctx context.Context, in *api.HelloRequest) (*api.HelloReply, error)
SayHello for greet.
Click to show internal directories.
Click to hide internal directories.