diff options
Diffstat (limited to 'tvix/store/protos/rpc_directory_grpc.pb.go')
-rw-r--r-- | tvix/store/protos/rpc_directory_grpc.pb.go | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/tvix/store/protos/rpc_directory_grpc.pb.go b/tvix/store/protos/rpc_directory_grpc.pb.go index 88007c5a91a7..a578dbd89d39 100644 --- a/tvix/store/protos/rpc_directory_grpc.pb.go +++ b/tvix/store/protos/rpc_directory_grpc.pb.go @@ -1,6 +1,9 @@ +// SPDX-License-Identifier: MIT +// Copyright © 2022 The Tvix Authors + // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) // source: tvix/store/protos/rpc_directory.proto @@ -18,6 +21,11 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + DirectoryService_Get_FullMethodName = "/tvix.store.v1.DirectoryService/Get" + DirectoryService_Put_FullMethodName = "/tvix.store.v1.DirectoryService/Put" +) + // DirectoryServiceClient is the client API for DirectoryService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -49,7 +57,7 @@ func NewDirectoryServiceClient(cc grpc.ClientConnInterface) DirectoryServiceClie } func (c *directoryServiceClient) Get(ctx context.Context, in *GetDirectoryRequest, opts ...grpc.CallOption) (DirectoryService_GetClient, error) { - stream, err := c.cc.NewStream(ctx, &DirectoryService_ServiceDesc.Streams[0], "/tvix.store.v1.DirectoryService/Get", opts...) + stream, err := c.cc.NewStream(ctx, &DirectoryService_ServiceDesc.Streams[0], DirectoryService_Get_FullMethodName, opts...) if err != nil { return nil, err } @@ -81,7 +89,7 @@ func (x *directoryServiceGetClient) Recv() (*Directory, error) { } func (c *directoryServiceClient) Put(ctx context.Context, opts ...grpc.CallOption) (DirectoryService_PutClient, error) { - stream, err := c.cc.NewStream(ctx, &DirectoryService_ServiceDesc.Streams[1], "/tvix.store.v1.DirectoryService/Put", opts...) + stream, err := c.cc.NewStream(ctx, &DirectoryService_ServiceDesc.Streams[1], DirectoryService_Put_FullMethodName, opts...) if err != nil { return nil, err } |