mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-30 09:18:34 +00:00
Add comments for additional code
This commit is contained in:
parent
9c0f0a0cd5
commit
ee19bcc08c
4 changed files with 8 additions and 0 deletions
|
@ -85,6 +85,8 @@ func (s *service) Register(server *grpc.Server) {
|
|||
common.Must(s.v.RequireFeatures(func(router routing.Router, stats stats.Manager) {
|
||||
rs := NewRoutingServer(router, nil)
|
||||
RegisterRoutingServiceServer(server, rs)
|
||||
|
||||
// For compatibility purposes
|
||||
vCoreDesc := _RoutingService_serviceDesc
|
||||
vCoreDesc.ServiceName = "v2ray.core.app.router.command.RoutingService"
|
||||
server.RegisterService(&vCoreDesc, rs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue