Documentation ¶
Index ¶
- Variables
- type ApiReq
- func (*ApiReq) Descriptor() ([]byte, []int)
- func (m *ApiReq) GetParams() map[string]string
- func (m *ApiReq) Marshal() (dAtA []byte, err error)
- func (m *ApiReq) MarshalTo(dAtA []byte) (int, error)
- func (m *ApiReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ApiReq) ProtoMessage()
- func (m *ApiReq) Reset()
- func (m *ApiReq) Size() (n int)
- func (m *ApiReq) String() string
- func (m *ApiReq) Unmarshal(dAtA []byte) error
- func (m *ApiReq) XXX_DiscardUnknown()
- func (m *ApiReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApiReq) XXX_Merge(src proto.Message)
- func (m *ApiReq) XXX_Size() int
- func (m *ApiReq) XXX_Unmarshal(b []byte) error
- type FileReq
- func (*FileReq) Descriptor() ([]byte, []int)
- func (m *FileReq) GetBody() []byte
- func (m *FileReq) GetExtra() string
- func (m *FileReq) GetFileName() string
- func (m *FileReq) GetFileSize() int64
- func (m *FileReq) Marshal() (dAtA []byte, err error)
- func (m *FileReq) MarshalTo(dAtA []byte) (int, error)
- func (m *FileReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FileReq) ProtoMessage()
- func (m *FileReq) Reset()
- func (m *FileReq) Size() (n int)
- func (m *FileReq) String() string
- func (m *FileReq) Unmarshal(dAtA []byte) error
- func (m *FileReq) XXX_DiscardUnknown()
- func (m *FileReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileReq) XXX_Merge(src proto.Message)
- func (m *FileReq) XXX_Size() int
- func (m *FileReq) XXX_Unmarshal(b []byte) error
- type Packet
- func (*Packet) Descriptor() ([]byte, []int)
- func (m *Packet) GetCode() int32
- func (m *Packet) GetMsg() string
- func (m *Packet) Marshal() (dAtA []byte, err error)
- func (m *Packet) MarshalTo(dAtA []byte) (int, error)
- func (m *Packet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Packet) ProtoMessage()
- func (m *Packet) Reset()
- func (m *Packet) Size() (n int)
- func (m *Packet) String() string
- func (m *Packet) Unmarshal(dAtA []byte) error
- func (m *Packet) XXX_DiscardUnknown()
- func (m *Packet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Packet) XXX_Merge(src proto.Message)
- func (m *Packet) XXX_Size() int
- func (m *Packet) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ApiReq ¶ added in v1.0.9
roc http GET request you must defined a struct as ApiReq
func (*ApiReq) Descriptor ¶ added in v1.0.9
func (*ApiReq) MarshalToSizedBuffer ¶ added in v1.0.9
func (*ApiReq) ProtoMessage ¶ added in v1.0.9
func (*ApiReq) ProtoMessage()
func (*ApiReq) XXX_DiscardUnknown ¶ added in v1.0.9
func (m *ApiReq) XXX_DiscardUnknown()
func (*ApiReq) XXX_Marshal ¶ added in v1.0.9
func (*ApiReq) XXX_Unmarshal ¶ added in v1.0.9
type FileReq ¶ added in v1.0.7
type FileReq struct { FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` FileSize int64 `protobuf:"varint,2,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` }
roc file upload request you must defined a struct as FileReq
func (*FileReq) Descriptor ¶ added in v1.0.7
func (*FileReq) GetFileName ¶ added in v1.0.7
func (*FileReq) GetFileSize ¶ added in v1.0.7
func (*FileReq) MarshalToSizedBuffer ¶ added in v1.0.7
func (*FileReq) ProtoMessage ¶ added in v1.0.7
func (*FileReq) ProtoMessage()
func (*FileReq) XXX_DiscardUnknown ¶ added in v1.0.7
func (m *FileReq) XXX_DiscardUnknown()
func (*FileReq) XXX_Marshal ¶ added in v1.0.7
func (*FileReq) XXX_Unmarshal ¶ added in v1.0.7
type Packet ¶
type Packet struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` }
roc internal packet object
func (*Packet) Descriptor ¶
func (*Packet) MarshalToSizedBuffer ¶
func (*Packet) ProtoMessage ¶
func (*Packet) ProtoMessage()
func (*Packet) XXX_DiscardUnknown ¶
func (m *Packet) XXX_DiscardUnknown()
func (*Packet) XXX_Marshal ¶
func (*Packet) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.