Documentation ¶
Index ¶
- Variables
- func RegisterCheckingServicesServer(s *grpc.Server, srv CheckingServicesServer)
- type CheckingServicesClient
- type CheckingServicesServer
- type DownloadFileName
- type FileResponse
- type Files
- func (*Files) Descriptor() ([]byte, []int)deprecated
- func (x *Files) GetChecksum() float64
- func (x *Files) GetFileContent() []byte
- func (x *Files) GetFileName() string
- func (x *Files) GetPath() string
- func (*Files) ProtoMessage()
- func (x *Files) ProtoReflect() protoreflect.Message
- func (x *Files) Reset()
- func (x *Files) String() string
- type Request
- type Response
- type UnimplementedCheckingServicesServer
- func (*UnimplementedCheckingServicesServer) DownloadFile(context.Context, *DownloadFileName) (*Files, error)
- func (*UnimplementedCheckingServicesServer) GetResponse(context.Context, *Request) (*Response, error)
- func (*UnimplementedCheckingServicesServer) UploadFile(context.Context, *Files) (*FileResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_temp_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCheckingServicesServer ¶
func RegisterCheckingServicesServer(s *grpc.Server, srv CheckingServicesServer)
Types ¶
type CheckingServicesClient ¶
type CheckingServicesClient interface { GetResponse(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) UploadFile(ctx context.Context, in *Files, opts ...grpc.CallOption) (*FileResponse, error) DownloadFile(ctx context.Context, in *DownloadFileName, opts ...grpc.CallOption) (*Files, error) }
CheckingServicesClient is the client API for CheckingServices service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCheckingServicesClient ¶
func NewCheckingServicesClient(cc grpc.ClientConnInterface) CheckingServicesClient
type CheckingServicesServer ¶
type CheckingServicesServer interface { GetResponse(context.Context, *Request) (*Response, error) UploadFile(context.Context, *Files) (*FileResponse, error) DownloadFile(context.Context, *DownloadFileName) (*Files, error) }
CheckingServicesServer is the server API for CheckingServices service.
type DownloadFileName ¶
type DownloadFileName struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DownloadFileName) Descriptor
deprecated
func (*DownloadFileName) Descriptor() ([]byte, []int)
Deprecated: Use DownloadFileName.ProtoReflect.Descriptor instead.
func (*DownloadFileName) GetName ¶
func (x *DownloadFileName) GetName() string
func (*DownloadFileName) ProtoMessage ¶
func (*DownloadFileName) ProtoMessage()
func (*DownloadFileName) ProtoReflect ¶
func (x *DownloadFileName) ProtoReflect() protoreflect.Message
func (*DownloadFileName) Reset ¶
func (x *DownloadFileName) Reset()
func (*DownloadFileName) String ¶
func (x *DownloadFileName) String() string
type FileResponse ¶
type FileResponse struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*FileResponse) Descriptor
deprecated
func (*FileResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileResponse.ProtoReflect.Descriptor instead.
func (*FileResponse) GetMsg ¶
func (x *FileResponse) GetMsg() string
func (*FileResponse) ProtoMessage ¶
func (*FileResponse) ProtoMessage()
func (*FileResponse) ProtoReflect ¶
func (x *FileResponse) ProtoReflect() protoreflect.Message
func (*FileResponse) Reset ¶
func (x *FileResponse) Reset()
func (*FileResponse) String ¶
func (x *FileResponse) String() string
type Files ¶
type Files struct { FileName string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName,omitempty"` FileContent []byte `protobuf:"bytes,17,opt,name=fileContent,proto3" json:"fileContent,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Checksum float64 `protobuf:"fixed64,3,opt,name=checksum,proto3" json:"checksum,omitempty"` // contains filtered or unexported fields }
func (*Files) Descriptor
deprecated
func (*Files) GetChecksum ¶
func (*Files) GetFileContent ¶
func (*Files) GetFileName ¶
func (*Files) ProtoMessage ¶
func (*Files) ProtoMessage()
func (*Files) ProtoReflect ¶
func (x *Files) ProtoReflect() protoreflect.Message
type Request ¶
type Request struct { Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type UnimplementedCheckingServicesServer ¶
type UnimplementedCheckingServicesServer struct { }
UnimplementedCheckingServicesServer can be embedded to have forward compatible implementations.
func (*UnimplementedCheckingServicesServer) DownloadFile ¶
func (*UnimplementedCheckingServicesServer) DownloadFile(context.Context, *DownloadFileName) (*Files, error)
func (*UnimplementedCheckingServicesServer) GetResponse ¶
func (*UnimplementedCheckingServicesServer) UploadFile ¶
func (*UnimplementedCheckingServicesServer) UploadFile(context.Context, *Files) (*FileResponse, error)
Click to show internal directories.
Click to hide internal directories.