Sha256: 58b954cd0fa318a6ff8e65bb1aac2c803f967c25a6ec9c191a65dead997bbc4d

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: secret_service.proto for package 'secret_service'
# Original file comments:
# Copyright (c) The Libra Core Contributors
# SPDX-License-Identifier: Apache-2.0
#

require 'grpc'
require 'secret_service_pb'

module SecretService
  module SecretService
    # -----------------------------------------------------------------------------
    # ---------------- Service definition
    # -----------------------------------------------------------------------------
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'secret_service.SecretService'

      # API to request key generation
      rpc :GenerateKey, GenerateKeyRequest, GenerateKeyResponse
      # API to request a public key
      rpc :GetPublicKey, PublicKeyRequest, PublicKeyResponse
      # API to request a signature
      rpc :Sign, SignRequest, SignResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libra_client-0.2.1 proto-lib/secret_service_services_pb.rb
libra_client-0.1.7 proto-lib/secret_service_services_pb.rb