Sha256: c5792bd3e13ef0a5620bf36b3727ccc74918131a8abd9c41ba5d7bb202df756e
Contents?: true
Size: 656 Bytes
Versions: 11
Compression:
Stored size: 656 Bytes
Contents
# Generated by the protocol buffer compiler. DO NOT EDIT! # Source: v3lock.proto for package 'v3lockpb' require 'grpc' require_relative 'v3lock_pb' module V3lockpb module Lock class Service include GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = 'v3lockpb.Lock' # Lock acquires a distributed shared lock on a given named lock. rpc :Lock, LockRequest, LockResponse # Unlock takes a key returned by Lock and releases the hold on lock. rpc :Unlock, UnlockRequest, UnlockResponse end Stub = Service.rpc_stub_class end end
Version data entries
11 entries across 11 versions & 2 rubygems