upload

package
v0.0.0-...-66a8e7a Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: MIT Imports: 7 Imported by: 2

Documentation

Index

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

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

Jump to

Keyboard shortcuts

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