Documentation
¶
Index ¶
- Variables
- func RegisterVideoImageServer(s *grpc.Server, srv VideoImageServer)
- type ImgUploadRequest
- func (*ImgUploadRequest) Descriptor() ([]byte, []int)
- func (m *ImgUploadRequest) Marshal() (dAtA []byte, err error)
- func (m *ImgUploadRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ImgUploadRequest) ProtoMessage()
- func (m *ImgUploadRequest) Reset()
- func (m *ImgUploadRequest) Size() (n int)
- func (this *ImgUploadRequest) String() string
- func (m *ImgUploadRequest) Unmarshal(dAtA []byte) error
- func (m *ImgUploadRequest) XXX_DiscardUnknown()
- func (m *ImgUploadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ImgUploadRequest) XXX_Merge(src proto.Message)
- func (m *ImgUploadRequest) XXX_Size() int
- func (m *ImgUploadRequest) XXX_Unmarshal(b []byte) error
- type ImgUploadResponse
- func (*ImgUploadResponse) Descriptor() ([]byte, []int)
- func (m *ImgUploadResponse) Marshal() (dAtA []byte, err error)
- func (m *ImgUploadResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ImgUploadResponse) ProtoMessage()
- func (m *ImgUploadResponse) Reset()
- func (m *ImgUploadResponse) Size() (n int)
- func (this *ImgUploadResponse) String() string
- func (m *ImgUploadResponse) Unmarshal(dAtA []byte) error
- func (m *ImgUploadResponse) XXX_DiscardUnknown()
- func (m *ImgUploadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ImgUploadResponse) XXX_Merge(src proto.Message)
- func (m *ImgUploadResponse) XXX_Size() int
- func (m *ImgUploadResponse) XXX_Unmarshal(b []byte) error
- type VideoImageClient
- type VideoImageServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowApi = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterVideoImageServer ¶
func RegisterVideoImageServer(s *grpc.Server, srv VideoImageServer)
Types ¶
type ImgUploadRequest ¶
type ImgUploadRequest struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename" form:"filename"` Dir string `protobuf:"bytes,2,opt,name=dir,proto3" json:"dir" form:"dir"` File []byte `protobuf:"bytes,3,opt,name=file,proto3" json:"file" form:"file"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ImgUploadRequest) Descriptor ¶
func (*ImgUploadRequest) Descriptor() ([]byte, []int)
func (*ImgUploadRequest) Marshal ¶
func (m *ImgUploadRequest) Marshal() (dAtA []byte, err error)
func (*ImgUploadRequest) ProtoMessage ¶
func (*ImgUploadRequest) ProtoMessage()
func (*ImgUploadRequest) Reset ¶
func (m *ImgUploadRequest) Reset()
func (*ImgUploadRequest) Size ¶
func (m *ImgUploadRequest) Size() (n int)
func (*ImgUploadRequest) String ¶
func (this *ImgUploadRequest) String() string
func (*ImgUploadRequest) Unmarshal ¶
func (m *ImgUploadRequest) Unmarshal(dAtA []byte) error
func (*ImgUploadRequest) XXX_DiscardUnknown ¶
func (m *ImgUploadRequest) XXX_DiscardUnknown()
func (*ImgUploadRequest) XXX_Marshal ¶
func (m *ImgUploadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImgUploadRequest) XXX_Merge ¶
func (dst *ImgUploadRequest) XXX_Merge(src proto.Message)
func (*ImgUploadRequest) XXX_Size ¶
func (m *ImgUploadRequest) XXX_Size() int
func (*ImgUploadRequest) XXX_Unmarshal ¶
func (m *ImgUploadRequest) XXX_Unmarshal(b []byte) error
type ImgUploadResponse ¶
type ImgUploadResponse struct { Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location" form:"location"` Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag" form:"etag"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ImgUploadResponse) Descriptor ¶
func (*ImgUploadResponse) Descriptor() ([]byte, []int)
func (*ImgUploadResponse) Marshal ¶
func (m *ImgUploadResponse) Marshal() (dAtA []byte, err error)
func (*ImgUploadResponse) MarshalTo ¶
func (m *ImgUploadResponse) MarshalTo(dAtA []byte) (int, error)
func (*ImgUploadResponse) ProtoMessage ¶
func (*ImgUploadResponse) ProtoMessage()
func (*ImgUploadResponse) Reset ¶
func (m *ImgUploadResponse) Reset()
func (*ImgUploadResponse) Size ¶
func (m *ImgUploadResponse) Size() (n int)
func (*ImgUploadResponse) String ¶
func (this *ImgUploadResponse) String() string
func (*ImgUploadResponse) Unmarshal ¶
func (m *ImgUploadResponse) Unmarshal(dAtA []byte) error
func (*ImgUploadResponse) XXX_DiscardUnknown ¶
func (m *ImgUploadResponse) XXX_DiscardUnknown()
func (*ImgUploadResponse) XXX_Marshal ¶
func (m *ImgUploadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImgUploadResponse) XXX_Merge ¶
func (dst *ImgUploadResponse) XXX_Merge(src proto.Message)
func (*ImgUploadResponse) XXX_Size ¶
func (m *ImgUploadResponse) XXX_Size() int
func (*ImgUploadResponse) XXX_Unmarshal ¶
func (m *ImgUploadResponse) XXX_Unmarshal(b []byte) error
type VideoImageClient ¶
type VideoImageClient interface {
ImgUpload(ctx context.Context, in *ImgUploadRequest, opts ...grpc.CallOption) (*ImgUploadResponse, error)
}
VideoImageClient is the client API for VideoImage service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVideoImageClient ¶
func NewVideoImageClient(cc *grpc.ClientConn) VideoImageClient
type VideoImageServer ¶
type VideoImageServer interface {
ImgUpload(context.Context, *ImgUploadRequest) (*ImgUploadResponse, error)
}
VideoImageServer is the server API for VideoImage service.
Click to show internal directories.
Click to hide internal directories.