Sha256: 41dc4d6b3045be6a527db7a73efdbff8163dea7d14dd9a3166ae58fa249d1d48

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: gitaly.proto for package 'gitaly'

require 'grpc'
require 'gitaly_pb'

module Gitaly
  module SmartHTTP
    # The Git 'smart HTTP' protocol
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'gitaly.SmartHTTP'

      # The response body for GET /info/refs?service=git-upload-pack
      rpc :InfoRefsUploadPack, InfoRefsRequest, stream(InfoRefsResponse)
      # The response body for GET /info/refs?service=git-receive-pack
      rpc :InfoRefsReceivePack, InfoRefsRequest, stream(InfoRefsResponse)
    end

    Stub = Service.rpc_stub_class
  end
  module Notifications
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'gitaly.Notifications'

      rpc :PostReceive, PostReceiveRequest, PostReceiveResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitaly-0.2.1 ruby/lib/gitaly/gitaly_services_pb.rb