- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
using NuGet.Common; | |
using NuGet.Configuration; | |
using NuGet.Frameworks; | |
using NuGet.Packaging; | |
using NuGet.Packaging.Core; | |
using NuGet.Packaging.Signing; | |
using NuGet.Protocol; | |
using NuGet.Protocol.Core.Types; | |
using NuGet.Resolver; | |
using NuGet.Versioning; |
using NuGet.Common; | |
using NuGet.Configuration; | |
using NuGet.Credentials; | |
using NuGet.PackageManagement; | |
using NuGet.Packaging; | |
using NuGet.Packaging.Core; | |
using NuGet.Packaging.Signing; | |
using NuGet.ProjectManagement; | |
using NuGet.Protocol; | |
using NuGet.Protocol.Core.Types; |
from magic_glue import create_grpc_handler, rpc_method | |
from .generated_code.mypackage import MyRequest, MyResponse | |
# Create a servicer class with the rpc methods we want to implement | |
class MyServicer: | |
# grpcio needs to know the fully qualified name of the service | |
# It would be better if this was available from the betterproto generated classes | |
# to save having to copy it from the proto file manually | |
service_name = "mypackage.MyService" |