Documentation ¶
Index ¶
- func RegisterUploadHandlerServer(s *grpc.Server, srv UploadHandlerServer)
- type UnimplementedUploadHandlerServer
- type UploadHandlerClient
- type UploadHandlerServer
- type UploadHandler_UploadClient
- type UploadHandler_UploadServer
- type UploadReply
- func (*UploadReply) Descriptor() ([]byte, []int)
- func (m *UploadReply) GetUploadStatus() string
- func (*UploadReply) ProtoMessage()
- func (m *UploadReply) Reset()
- func (m *UploadReply) String() string
- func (m *UploadReply) XXX_DiscardUnknown()
- func (m *UploadReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UploadReply) XXX_Merge(src proto.Message)
- func (m *UploadReply) XXX_Size() int
- func (m *UploadReply) XXX_Unmarshal(b []byte) error
- type UploadRequest
- func (*UploadRequest) Descriptor() ([]byte, []int)
- func (m *UploadRequest) GetVideoData() []byte
- func (*UploadRequest) ProtoMessage()
- func (m *UploadRequest) Reset()
- func (m *UploadRequest) String() string
- func (m *UploadRequest) XXX_DiscardUnknown()
- func (m *UploadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UploadRequest) XXX_Merge(src proto.Message)
- func (m *UploadRequest) XXX_Size() int
- func (m *UploadRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUploadHandlerServer ¶
func RegisterUploadHandlerServer(s *grpc.Server, srv UploadHandlerServer)
Types ¶
type UnimplementedUploadHandlerServer ¶
type UnimplementedUploadHandlerServer struct { }
UnimplementedUploadHandlerServer can be embedded to have forward compatible implementations.
func (*UnimplementedUploadHandlerServer) Upload ¶
func (*UnimplementedUploadHandlerServer) Upload(srv UploadHandler_UploadServer) error
type UploadHandlerClient ¶
type UploadHandlerClient interface {
Upload(ctx context.Context, opts ...grpc.CallOption) (UploadHandler_UploadClient, error)
}
UploadHandlerClient is the client API for UploadHandler service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUploadHandlerClient ¶
func NewUploadHandlerClient(cc *grpc.ClientConn) UploadHandlerClient
type UploadHandlerServer ¶
type UploadHandlerServer interface {
Upload(UploadHandler_UploadServer) error
}
UploadHandlerServer is the server API for UploadHandler service.
type UploadHandler_UploadClient ¶
type UploadHandler_UploadClient interface { Send(*UploadRequest) error CloseAndRecv() (*UploadReply, error) grpc.ClientStream }
type UploadHandler_UploadServer ¶
type UploadHandler_UploadServer interface { SendAndClose(*UploadReply) error Recv() (*UploadRequest, error) grpc.ServerStream }
type UploadReply ¶
type UploadReply struct { UploadStatus string `protobuf:"bytes,1,opt,name=UploadStatus,proto3" json:"UploadStatus,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UploadReply) Descriptor ¶
func (*UploadReply) Descriptor() ([]byte, []int)
func (*UploadReply) GetUploadStatus ¶
func (m *UploadReply) GetUploadStatus() string
func (*UploadReply) ProtoMessage ¶
func (*UploadReply) ProtoMessage()
func (*UploadReply) Reset ¶
func (m *UploadReply) Reset()
func (*UploadReply) String ¶
func (m *UploadReply) String() string
func (*UploadReply) XXX_DiscardUnknown ¶
func (m *UploadReply) XXX_DiscardUnknown()
func (*UploadReply) XXX_Marshal ¶
func (m *UploadReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UploadReply) XXX_Merge ¶
func (m *UploadReply) XXX_Merge(src proto.Message)
func (*UploadReply) XXX_Size ¶
func (m *UploadReply) XXX_Size() int
func (*UploadReply) XXX_Unmarshal ¶
func (m *UploadReply) XXX_Unmarshal(b []byte) error
type UploadRequest ¶
type UploadRequest struct { VideoData []byte `protobuf:"bytes,1,opt,name=VideoData,proto3" json:"VideoData,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UploadRequest) Descriptor ¶
func (*UploadRequest) Descriptor() ([]byte, []int)
func (*UploadRequest) GetVideoData ¶
func (m *UploadRequest) GetVideoData() []byte
func (*UploadRequest) ProtoMessage ¶
func (*UploadRequest) ProtoMessage()
func (*UploadRequest) Reset ¶
func (m *UploadRequest) Reset()
func (*UploadRequest) String ¶
func (m *UploadRequest) String() string
func (*UploadRequest) XXX_DiscardUnknown ¶
func (m *UploadRequest) XXX_DiscardUnknown()
func (*UploadRequest) XXX_Marshal ¶
func (m *UploadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UploadRequest) XXX_Merge ¶
func (m *UploadRequest) XXX_Merge(src proto.Message)
func (*UploadRequest) XXX_Size ¶
func (m *UploadRequest) XXX_Size() int
func (*UploadRequest) XXX_Unmarshal ¶
func (m *UploadRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.