mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
update go.mod deps
Former-commit-id: 91a0ab6a8cb35bf9143cee0447a6f72ca8a09333
This commit is contained in:
@@ -44,7 +44,9 @@ func newApp() *iris.Application {
|
||||
|
||||
// serviceName := pb.File_helloworld_proto.Services().Get(0).FullName()
|
||||
|
||||
// Register MVC application controller.
|
||||
// Register MVC application controller for gRPC services.
|
||||
// You can bind as many mvc gRpc services in the same Party or app,
|
||||
// as the ServiceName differs.
|
||||
mvc.New(app).Handle(ctrl, mvc.GRPC{
|
||||
Server: grpcServer, // Required.
|
||||
ServiceName: "helloworld.Greeter", // Required.
|
||||
|
||||
Reference in New Issue
Block a user