ai_metathings_component_service_joker

package
v0.0.0-...-e946b1f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2019 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

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) UploadFile

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL