ruby/proto/gitaly/server_services_pb.rb in gitaly-15.0.0.pre.rc2 vs ruby/proto/gitaly/server_services_pb.rb in gitaly-15.0.0.pre.rc3
- old
+ new
@@ -4,18 +4,21 @@
require 'grpc'
require 'server_pb'
module Gitaly
module ServerService
+ # ServerService is a service that provides information about a Gitaly server.
class Service
include ::GRPC::GenericService
self.marshal_class_method = :encode
self.unmarshal_class_method = :decode
self.service_name = 'gitaly.ServerService'
+ # This comment is left unintentionally blank.
rpc :ServerInfo, ::Gitaly::ServerInfoRequest, ::Gitaly::ServerInfoResponse
+ # This comment is left unintentionally blank.
rpc :DiskStatistics, ::Gitaly::DiskStatisticsRequest, ::Gitaly::DiskStatisticsResponse
# ClockSynced checks if machine clock is synced
# (the offset is less that the one passed in the request).
rpc :ClockSynced, ::Gitaly::ClockSyncedRequest, ::Gitaly::ClockSyncedResponse
end