Documentation ¶
Index ¶
- func RegisterJokerServiceServer(s *grpc.Server, srv JokerServiceServer)
- type DownloadFileRequest
- func (*DownloadFileRequest) Descriptor() ([]byte, []int)
- func (m *DownloadFileRequest) GetDestination() *wrappers.StringValue
- func (m *DownloadFileRequest) GetSource() *wrappers.StringValue
- func (m *DownloadFileRequest) GetStreaming() *wrappers.BoolValue
- func (*DownloadFileRequest) ProtoMessage()
- func (m *DownloadFileRequest) Reset()
- func (m *DownloadFileRequest) String() string
- func (this *DownloadFileRequest) Validate() error
- func (m *DownloadFileRequest) XXX_DiscardUnknown()
- func (m *DownloadFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DownloadFileRequest) XXX_Merge(src proto.Message)
- func (m *DownloadFileRequest) XXX_Size() int
- func (m *DownloadFileRequest) XXX_Unmarshal(b []byte) error
- type JokerServiceClient
- type JokerServiceServer
- type UnimplementedJokerServiceServer
- type UploadFileRequest
- func (*UploadFileRequest) Descriptor() ([]byte, []int)
- func (m *UploadFileRequest) GetDestination() *wrappers.StringValue
- func (m *UploadFileRequest) GetSource() *wrappers.StringValue
- func (m *UploadFileRequest) GetStreaming() *wrappers.BoolValue
- func (*UploadFileRequest) ProtoMessage()
- func (m *UploadFileRequest) Reset()
- func (m *UploadFileRequest) String() string
- func (this *UploadFileRequest) Validate() error
- func (m *UploadFileRequest) XXX_DiscardUnknown()
- func (m *UploadFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UploadFileRequest) XXX_Merge(src proto.Message)
- func (m *UploadFileRequest) XXX_Size() int
- func (m *UploadFileRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterJokerServiceServer ¶
func RegisterJokerServiceServer(s *grpc.Server, srv JokerServiceServer)
Types ¶
type DownloadFileRequest ¶
type DownloadFileRequest struct { Streaming *wrappers.BoolValue `protobuf:"bytes,1,opt,name=streaming,proto3" json:"streaming,omitempty"` Source *wrappers.StringValue `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Destination *wrappers.StringValue `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DownloadFileRequest) Descriptor ¶
func (*DownloadFileRequest) Descriptor() ([]byte, []int)
func (*DownloadFileRequest) GetDestination ¶
func (m *DownloadFileRequest) GetDestination() *wrappers.StringValue
func (*DownloadFileRequest) GetSource ¶
func (m *DownloadFileRequest) GetSource() *wrappers.StringValue
func (*DownloadFileRequest) GetStreaming ¶
func (m *DownloadFileRequest) GetStreaming() *wrappers.BoolValue
func (*DownloadFileRequest) ProtoMessage ¶
func (*DownloadFileRequest) ProtoMessage()
func (*DownloadFileRequest) Reset ¶
func (m *DownloadFileRequest) Reset()
func (*DownloadFileRequest) String ¶
func (m *DownloadFileRequest) String() string
func (*DownloadFileRequest) Validate ¶
func (this *DownloadFileRequest) Validate() error
func (*DownloadFileRequest) XXX_DiscardUnknown ¶
func (m *DownloadFileRequest) XXX_DiscardUnknown()
func (*DownloadFileRequest) XXX_Marshal ¶
func (m *DownloadFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DownloadFileRequest) XXX_Merge ¶
func (m *DownloadFileRequest) XXX_Merge(src proto.Message)
func (*DownloadFileRequest) XXX_Size ¶
func (m *DownloadFileRequest) XXX_Size() int
func (*DownloadFileRequest) XXX_Unmarshal ¶
func (m *DownloadFileRequest) XXX_Unmarshal(b []byte) error
type JokerServiceClient ¶
type JokerServiceClient interface { UploadFile(ctx context.Context, in *UploadFileRequest, opts ...grpc.CallOption) (*empty.Empty, error) DownloadFile(ctx context.Context, in *DownloadFileRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
JokerServiceClient is the client API for JokerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewJokerServiceClient ¶
func NewJokerServiceClient(cc *grpc.ClientConn) JokerServiceClient
type JokerServiceServer ¶
type JokerServiceServer interface { UploadFile(context.Context, *UploadFileRequest) (*empty.Empty, error) DownloadFile(context.Context, *DownloadFileRequest) (*empty.Empty, error) }
JokerServiceServer is the server API for JokerService service.
type UnimplementedJokerServiceServer ¶
type UnimplementedJokerServiceServer struct { }
UnimplementedJokerServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedJokerServiceServer) DownloadFile ¶
func (*UnimplementedJokerServiceServer) DownloadFile(ctx context.Context, req *DownloadFileRequest) (*empty.Empty, error)
func (*UnimplementedJokerServiceServer) UploadFile ¶
func (*UnimplementedJokerServiceServer) UploadFile(ctx context.Context, req *UploadFileRequest) (*empty.Empty, error)
type UploadFileRequest ¶
type UploadFileRequest struct { Streaming *wrappers.BoolValue `protobuf:"bytes,1,opt,name=streaming,proto3" json:"streaming,omitempty"` Source *wrappers.StringValue `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Destination *wrappers.StringValue `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UploadFileRequest) Descriptor ¶
func (*UploadFileRequest) Descriptor() ([]byte, []int)
func (*UploadFileRequest) GetDestination ¶
func (m *UploadFileRequest) GetDestination() *wrappers.StringValue
func (*UploadFileRequest) GetSource ¶
func (m *UploadFileRequest) GetSource() *wrappers.StringValue
func (*UploadFileRequest) GetStreaming ¶
func (m *UploadFileRequest) GetStreaming() *wrappers.BoolValue
func (*UploadFileRequest) ProtoMessage ¶
func (*UploadFileRequest) ProtoMessage()
func (*UploadFileRequest) Reset ¶
func (m *UploadFileRequest) Reset()
func (*UploadFileRequest) String ¶
func (m *UploadFileRequest) String() string
func (*UploadFileRequest) Validate ¶
func (this *UploadFileRequest) Validate() error
func (*UploadFileRequest) XXX_DiscardUnknown ¶
func (m *UploadFileRequest) XXX_DiscardUnknown()
func (*UploadFileRequest) XXX_Marshal ¶
func (m *UploadFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UploadFileRequest) XXX_Merge ¶
func (m *UploadFileRequest) XXX_Merge(src proto.Message)
func (*UploadFileRequest) XXX_Size ¶
func (m *UploadFileRequest) XXX_Size() int
func (*UploadFileRequest) XXX_Unmarshal ¶
func (m *UploadFileRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.