Documentation ¶
Index ¶
- Variables
- type OtChoiceRequest
- func (*OtChoiceRequest) Descriptor() ([]byte, []int)
- func (m *OtChoiceRequest) GetCid() string
- func (m *OtChoiceRequest) GetLp() []byte
- func (m *OtChoiceRequest) GetOwner() []byte
- func (m *OtChoiceRequest) GetYp() []byte
- func (m *OtChoiceRequest) Marshal() (dAtA []byte, err error)
- func (m *OtChoiceRequest) MarshalTo(dAtA []byte) (int, error)
- func (*OtChoiceRequest) ProtoMessage()
- func (m *OtChoiceRequest) Reset()
- func (m *OtChoiceRequest) Size() (n int)
- func (m *OtChoiceRequest) String() string
- func (m *OtChoiceRequest) Unmarshal(dAtA []byte) error
- func (m *OtChoiceRequest) XXX_DiscardUnknown()
- func (m *OtChoiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OtChoiceRequest) XXX_Merge(src proto.Message)
- func (m *OtChoiceRequest) XXX_Size() int
- func (m *OtChoiceRequest) XXX_Unmarshal(b []byte) error
- type OtChoiceResponse
- func (*OtChoiceResponse) Descriptor() ([]byte, []int)
- func (m *OtChoiceResponse) GetErrorCode() uint32
- func (m *OtChoiceResponse) GetErrorMsg() string
- func (m *OtChoiceResponse) Marshal() (dAtA []byte, err error)
- func (m *OtChoiceResponse) MarshalTo(dAtA []byte) (int, error)
- func (*OtChoiceResponse) ProtoMessage()
- func (m *OtChoiceResponse) Reset()
- func (m *OtChoiceResponse) Size() (n int)
- func (m *OtChoiceResponse) String() string
- func (m *OtChoiceResponse) Unmarshal(dAtA []byte) error
- func (m *OtChoiceResponse) XXX_DiscardUnknown()
- func (m *OtChoiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OtChoiceResponse) XXX_Merge(src proto.Message)
- func (m *OtChoiceResponse) XXX_Size() int
- func (m *OtChoiceResponse) XXX_Unmarshal(b []byte) error
- type PreReEncryptRequest
- func (*PreReEncryptRequest) Descriptor() ([]byte, []int)
- func (m *PreReEncryptRequest) GetCid() string
- func (m *PreReEncryptRequest) GetLpp() []byte
- func (m *PreReEncryptRequest) GetReKeys() [][]byte
- func (m *PreReEncryptRequest) GetTxid() string
- func (m *PreReEncryptRequest) Marshal() (dAtA []byte, err error)
- func (m *PreReEncryptRequest) MarshalTo(dAtA []byte) (int, error)
- func (*PreReEncryptRequest) ProtoMessage()
- func (m *PreReEncryptRequest) Reset()
- func (m *PreReEncryptRequest) Size() (n int)
- func (m *PreReEncryptRequest) String() string
- func (m *PreReEncryptRequest) Unmarshal(dAtA []byte) error
- func (m *PreReEncryptRequest) XXX_DiscardUnknown()
- func (m *PreReEncryptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PreReEncryptRequest) XXX_Merge(src proto.Message)
- func (m *PreReEncryptRequest) XXX_Size() int
- func (m *PreReEncryptRequest) XXX_Unmarshal(b []byte) error
- type PreReEncryptResponse
- func (*PreReEncryptResponse) Descriptor() ([]byte, []int)
- func (m *PreReEncryptResponse) GetErrorCode() uint32
- func (m *PreReEncryptResponse) GetErrorMsg() string
- func (m *PreReEncryptResponse) Marshal() (dAtA []byte, err error)
- func (m *PreReEncryptResponse) MarshalTo(dAtA []byte) (int, error)
- func (*PreReEncryptResponse) ProtoMessage()
- func (m *PreReEncryptResponse) Reset()
- func (m *PreReEncryptResponse) Size() (n int)
- func (m *PreReEncryptResponse) String() string
- func (m *PreReEncryptResponse) Unmarshal(dAtA []byte) error
- func (m *PreReEncryptResponse) XXX_DiscardUnknown()
- func (m *PreReEncryptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PreReEncryptResponse) XXX_Merge(src proto.Message)
- func (m *PreReEncryptResponse) XXX_Size() int
- func (m *PreReEncryptResponse) XXX_Unmarshal(b []byte) error
- type StorDownloadRequest
- func (*StorDownloadRequest) Descriptor() ([]byte, []int)
- func (m *StorDownloadRequest) GetCid() string
- func (m *StorDownloadRequest) GetOwner() []byte
- func (m *StorDownloadRequest) GetTxid() string
- func (m *StorDownloadRequest) Marshal() (dAtA []byte, err error)
- func (m *StorDownloadRequest) MarshalTo(dAtA []byte) (int, error)
- func (*StorDownloadRequest) ProtoMessage()
- func (m *StorDownloadRequest) Reset()
- func (m *StorDownloadRequest) Size() (n int)
- func (m *StorDownloadRequest) String() string
- func (m *StorDownloadRequest) Unmarshal(dAtA []byte) error
- func (m *StorDownloadRequest) XXX_DiscardUnknown()
- func (m *StorDownloadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorDownloadRequest) XXX_Merge(src proto.Message)
- func (m *StorDownloadRequest) XXX_Size() int
- func (m *StorDownloadRequest) XXX_Unmarshal(b []byte) error
- type StorDownloadResponse
- func (*StorDownloadResponse) Descriptor() ([]byte, []int)
- func (m *StorDownloadResponse) GetDownloader() string
- func (m *StorDownloadResponse) GetErrorCode() uint32
- func (m *StorDownloadResponse) GetErrorMsg() string
- func (m *StorDownloadResponse) Marshal() (dAtA []byte, err error)
- func (m *StorDownloadResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StorDownloadResponse) ProtoMessage()
- func (m *StorDownloadResponse) Reset()
- func (m *StorDownloadResponse) Size() (n int)
- func (m *StorDownloadResponse) String() string
- func (m *StorDownloadResponse) Unmarshal(dAtA []byte) error
- func (m *StorDownloadResponse) XXX_DiscardUnknown()
- func (m *StorDownloadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorDownloadResponse) XXX_Merge(src proto.Message)
- func (m *StorDownloadResponse) XXX_Size() int
- func (m *StorDownloadResponse) XXX_Unmarshal(b []byte) error
- type StorUploadRequest
- func (*StorUploadRequest) Descriptor() ([]byte, []int)
- func (m *StorUploadRequest) GetCid() string
- func (m *StorUploadRequest) GetFileSize() uint64
- func (m *StorUploadRequest) GetOwner() []byte
- func (m *StorUploadRequest) GetSet() uint32
- func (m *StorUploadRequest) GetSig() []byte
- func (m *StorUploadRequest) Marshal() (dAtA []byte, err error)
- func (m *StorUploadRequest) MarshalTo(dAtA []byte) (int, error)
- func (*StorUploadRequest) ProtoMessage()
- func (m *StorUploadRequest) Reset()
- func (m *StorUploadRequest) Size() (n int)
- func (m *StorUploadRequest) String() string
- func (m *StorUploadRequest) Unmarshal(dAtA []byte) error
- func (m *StorUploadRequest) XXX_DiscardUnknown()
- func (m *StorUploadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorUploadRequest) XXX_Merge(src proto.Message)
- func (m *StorUploadRequest) XXX_Size() int
- func (m *StorUploadRequest) XXX_Unmarshal(b []byte) error
- type StorUploadResponse
- func (*StorUploadResponse) Descriptor() ([]byte, []int)
- func (m *StorUploadResponse) GetErrorCode() uint32
- func (m *StorUploadResponse) GetErrorMsg() string
- func (m *StorUploadResponse) GetUploader() string
- func (m *StorUploadResponse) Marshal() (dAtA []byte, err error)
- func (m *StorUploadResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StorUploadResponse) ProtoMessage()
- func (m *StorUploadResponse) Reset()
- func (m *StorUploadResponse) Size() (n int)
- func (m *StorUploadResponse) String() string
- func (m *StorUploadResponse) Unmarshal(dAtA []byte) error
- func (m *StorUploadResponse) XXX_DiscardUnknown()
- func (m *StorUploadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorUploadResponse) XXX_Merge(src proto.Message)
- func (m *StorUploadResponse) XXX_Size() int
- func (m *StorUploadResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthMsg = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsg = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type OtChoiceRequest ¶
type OtChoiceRequest struct { Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Owner []byte `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Yp []byte `protobuf:"bytes,3,opt,name=yp,proto3" json:"yp,omitempty"` Lp []byte `protobuf:"bytes,4,opt,name=lp,proto3" json:"lp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OtChoiceRequest) Descriptor ¶
func (*OtChoiceRequest) Descriptor() ([]byte, []int)
func (*OtChoiceRequest) GetCid ¶
func (m *OtChoiceRequest) GetCid() string
func (*OtChoiceRequest) GetLp ¶
func (m *OtChoiceRequest) GetLp() []byte
func (*OtChoiceRequest) GetOwner ¶
func (m *OtChoiceRequest) GetOwner() []byte
func (*OtChoiceRequest) GetYp ¶
func (m *OtChoiceRequest) GetYp() []byte
func (*OtChoiceRequest) Marshal ¶
func (m *OtChoiceRequest) Marshal() (dAtA []byte, err error)
func (*OtChoiceRequest) ProtoMessage ¶
func (*OtChoiceRequest) ProtoMessage()
func (*OtChoiceRequest) Reset ¶
func (m *OtChoiceRequest) Reset()
func (*OtChoiceRequest) Size ¶
func (m *OtChoiceRequest) Size() (n int)
func (*OtChoiceRequest) String ¶
func (m *OtChoiceRequest) String() string
func (*OtChoiceRequest) Unmarshal ¶
func (m *OtChoiceRequest) Unmarshal(dAtA []byte) error
func (*OtChoiceRequest) XXX_DiscardUnknown ¶
func (m *OtChoiceRequest) XXX_DiscardUnknown()
func (*OtChoiceRequest) XXX_Marshal ¶
func (m *OtChoiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OtChoiceRequest) XXX_Merge ¶
func (m *OtChoiceRequest) XXX_Merge(src proto.Message)
func (*OtChoiceRequest) XXX_Size ¶
func (m *OtChoiceRequest) XXX_Size() int
func (*OtChoiceRequest) XXX_Unmarshal ¶
func (m *OtChoiceRequest) XXX_Unmarshal(b []byte) error
type OtChoiceResponse ¶
type OtChoiceResponse struct { ErrorCode uint32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OtChoiceResponse) Descriptor ¶
func (*OtChoiceResponse) Descriptor() ([]byte, []int)
func (*OtChoiceResponse) GetErrorCode ¶
func (m *OtChoiceResponse) GetErrorCode() uint32
func (*OtChoiceResponse) GetErrorMsg ¶
func (m *OtChoiceResponse) GetErrorMsg() string
func (*OtChoiceResponse) Marshal ¶
func (m *OtChoiceResponse) Marshal() (dAtA []byte, err error)
func (*OtChoiceResponse) ProtoMessage ¶
func (*OtChoiceResponse) ProtoMessage()
func (*OtChoiceResponse) Reset ¶
func (m *OtChoiceResponse) Reset()
func (*OtChoiceResponse) Size ¶
func (m *OtChoiceResponse) Size() (n int)
func (*OtChoiceResponse) String ¶
func (m *OtChoiceResponse) String() string
func (*OtChoiceResponse) Unmarshal ¶
func (m *OtChoiceResponse) Unmarshal(dAtA []byte) error
func (*OtChoiceResponse) XXX_DiscardUnknown ¶
func (m *OtChoiceResponse) XXX_DiscardUnknown()
func (*OtChoiceResponse) XXX_Marshal ¶
func (m *OtChoiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OtChoiceResponse) XXX_Merge ¶
func (m *OtChoiceResponse) XXX_Merge(src proto.Message)
func (*OtChoiceResponse) XXX_Size ¶
func (m *OtChoiceResponse) XXX_Size() int
func (*OtChoiceResponse) XXX_Unmarshal ¶
func (m *OtChoiceResponse) XXX_Unmarshal(b []byte) error
type PreReEncryptRequest ¶
type PreReEncryptRequest struct { Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Lpp []byte `protobuf:"bytes,2,opt,name=lpp,proto3" json:"lpp,omitempty"` ReKeys [][]byte `protobuf:"bytes,3,rep,name=re_keys,json=reKeys,proto3" json:"re_keys,omitempty"` Txid string `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PreReEncryptRequest) Descriptor ¶
func (*PreReEncryptRequest) Descriptor() ([]byte, []int)
func (*PreReEncryptRequest) GetCid ¶
func (m *PreReEncryptRequest) GetCid() string
func (*PreReEncryptRequest) GetLpp ¶
func (m *PreReEncryptRequest) GetLpp() []byte
func (*PreReEncryptRequest) GetReKeys ¶
func (m *PreReEncryptRequest) GetReKeys() [][]byte
func (*PreReEncryptRequest) GetTxid ¶
func (m *PreReEncryptRequest) GetTxid() string
func (*PreReEncryptRequest) Marshal ¶
func (m *PreReEncryptRequest) Marshal() (dAtA []byte, err error)
func (*PreReEncryptRequest) MarshalTo ¶
func (m *PreReEncryptRequest) MarshalTo(dAtA []byte) (int, error)
func (*PreReEncryptRequest) ProtoMessage ¶
func (*PreReEncryptRequest) ProtoMessage()
func (*PreReEncryptRequest) Reset ¶
func (m *PreReEncryptRequest) Reset()
func (*PreReEncryptRequest) Size ¶
func (m *PreReEncryptRequest) Size() (n int)
func (*PreReEncryptRequest) String ¶
func (m *PreReEncryptRequest) String() string
func (*PreReEncryptRequest) Unmarshal ¶
func (m *PreReEncryptRequest) Unmarshal(dAtA []byte) error
func (*PreReEncryptRequest) XXX_DiscardUnknown ¶
func (m *PreReEncryptRequest) XXX_DiscardUnknown()
func (*PreReEncryptRequest) XXX_Marshal ¶
func (m *PreReEncryptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PreReEncryptRequest) XXX_Merge ¶
func (m *PreReEncryptRequest) XXX_Merge(src proto.Message)
func (*PreReEncryptRequest) XXX_Size ¶
func (m *PreReEncryptRequest) XXX_Size() int
func (*PreReEncryptRequest) XXX_Unmarshal ¶
func (m *PreReEncryptRequest) XXX_Unmarshal(b []byte) error
type PreReEncryptResponse ¶
type PreReEncryptResponse struct { ErrorCode uint32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PreReEncryptResponse) Descriptor ¶
func (*PreReEncryptResponse) Descriptor() ([]byte, []int)
func (*PreReEncryptResponse) GetErrorCode ¶
func (m *PreReEncryptResponse) GetErrorCode() uint32
func (*PreReEncryptResponse) GetErrorMsg ¶
func (m *PreReEncryptResponse) GetErrorMsg() string
func (*PreReEncryptResponse) Marshal ¶
func (m *PreReEncryptResponse) Marshal() (dAtA []byte, err error)
func (*PreReEncryptResponse) MarshalTo ¶
func (m *PreReEncryptResponse) MarshalTo(dAtA []byte) (int, error)
func (*PreReEncryptResponse) ProtoMessage ¶
func (*PreReEncryptResponse) ProtoMessage()
func (*PreReEncryptResponse) Reset ¶
func (m *PreReEncryptResponse) Reset()
func (*PreReEncryptResponse) Size ¶
func (m *PreReEncryptResponse) Size() (n int)
func (*PreReEncryptResponse) String ¶
func (m *PreReEncryptResponse) String() string
func (*PreReEncryptResponse) Unmarshal ¶
func (m *PreReEncryptResponse) Unmarshal(dAtA []byte) error
func (*PreReEncryptResponse) XXX_DiscardUnknown ¶
func (m *PreReEncryptResponse) XXX_DiscardUnknown()
func (*PreReEncryptResponse) XXX_Marshal ¶
func (m *PreReEncryptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PreReEncryptResponse) XXX_Merge ¶
func (m *PreReEncryptResponse) XXX_Merge(src proto.Message)
func (*PreReEncryptResponse) XXX_Size ¶
func (m *PreReEncryptResponse) XXX_Size() int
func (*PreReEncryptResponse) XXX_Unmarshal ¶
func (m *PreReEncryptResponse) XXX_Unmarshal(b []byte) error
type StorDownloadRequest ¶
type StorDownloadRequest struct { Owner []byte `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` Txid string `protobuf:"bytes,3,opt,name=txid,proto3" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
if owner is not empty, the request will be proceeded as owner downloading or if owner is empty, the request will be proceeded by txid
func (*StorDownloadRequest) Descriptor ¶
func (*StorDownloadRequest) Descriptor() ([]byte, []int)
func (*StorDownloadRequest) GetCid ¶
func (m *StorDownloadRequest) GetCid() string
func (*StorDownloadRequest) GetOwner ¶
func (m *StorDownloadRequest) GetOwner() []byte
func (*StorDownloadRequest) GetTxid ¶
func (m *StorDownloadRequest) GetTxid() string
func (*StorDownloadRequest) Marshal ¶
func (m *StorDownloadRequest) Marshal() (dAtA []byte, err error)
func (*StorDownloadRequest) MarshalTo ¶
func (m *StorDownloadRequest) MarshalTo(dAtA []byte) (int, error)
func (*StorDownloadRequest) ProtoMessage ¶
func (*StorDownloadRequest) ProtoMessage()
func (*StorDownloadRequest) Reset ¶
func (m *StorDownloadRequest) Reset()
func (*StorDownloadRequest) Size ¶
func (m *StorDownloadRequest) Size() (n int)
func (*StorDownloadRequest) String ¶
func (m *StorDownloadRequest) String() string
func (*StorDownloadRequest) Unmarshal ¶
func (m *StorDownloadRequest) Unmarshal(dAtA []byte) error
func (*StorDownloadRequest) XXX_DiscardUnknown ¶
func (m *StorDownloadRequest) XXX_DiscardUnknown()
func (*StorDownloadRequest) XXX_Marshal ¶
func (m *StorDownloadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorDownloadRequest) XXX_Merge ¶
func (m *StorDownloadRequest) XXX_Merge(src proto.Message)
func (*StorDownloadRequest) XXX_Size ¶
func (m *StorDownloadRequest) XXX_Size() int
func (*StorDownloadRequest) XXX_Unmarshal ¶
func (m *StorDownloadRequest) XXX_Unmarshal(b []byte) error
type StorDownloadResponse ¶
type StorDownloadResponse struct { ErrorCode uint32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` Downloader string `protobuf:"bytes,3,opt,name=downloader,proto3" json:"downloader,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StorDownloadResponse) Descriptor ¶
func (*StorDownloadResponse) Descriptor() ([]byte, []int)
func (*StorDownloadResponse) GetDownloader ¶
func (m *StorDownloadResponse) GetDownloader() string
func (*StorDownloadResponse) GetErrorCode ¶
func (m *StorDownloadResponse) GetErrorCode() uint32
func (*StorDownloadResponse) GetErrorMsg ¶
func (m *StorDownloadResponse) GetErrorMsg() string
func (*StorDownloadResponse) Marshal ¶
func (m *StorDownloadResponse) Marshal() (dAtA []byte, err error)
func (*StorDownloadResponse) MarshalTo ¶
func (m *StorDownloadResponse) MarshalTo(dAtA []byte) (int, error)
func (*StorDownloadResponse) ProtoMessage ¶
func (*StorDownloadResponse) ProtoMessage()
func (*StorDownloadResponse) Reset ¶
func (m *StorDownloadResponse) Reset()
func (*StorDownloadResponse) Size ¶
func (m *StorDownloadResponse) Size() (n int)
func (*StorDownloadResponse) String ¶
func (m *StorDownloadResponse) String() string
func (*StorDownloadResponse) Unmarshal ¶
func (m *StorDownloadResponse) Unmarshal(dAtA []byte) error
func (*StorDownloadResponse) XXX_DiscardUnknown ¶
func (m *StorDownloadResponse) XXX_DiscardUnknown()
func (*StorDownloadResponse) XXX_Marshal ¶
func (m *StorDownloadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorDownloadResponse) XXX_Merge ¶
func (m *StorDownloadResponse) XXX_Merge(src proto.Message)
func (*StorDownloadResponse) XXX_Size ¶
func (m *StorDownloadResponse) XXX_Size() int
func (*StorDownloadResponse) XXX_Unmarshal ¶
func (m *StorDownloadResponse) XXX_Unmarshal(b []byte) error
type StorUploadRequest ¶
type StorUploadRequest struct { Owner []byte `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` Set uint32 `protobuf:"varint,3,opt,name=set,proto3" json:"set,omitempty"` Cid string `protobuf:"bytes,4,opt,name=cid,proto3" json:"cid,omitempty"` FileSize uint64 `protobuf:"varint,5,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StorUploadRequest) Descriptor ¶
func (*StorUploadRequest) Descriptor() ([]byte, []int)
func (*StorUploadRequest) GetCid ¶
func (m *StorUploadRequest) GetCid() string
func (*StorUploadRequest) GetFileSize ¶
func (m *StorUploadRequest) GetFileSize() uint64
func (*StorUploadRequest) GetOwner ¶
func (m *StorUploadRequest) GetOwner() []byte
func (*StorUploadRequest) GetSet ¶
func (m *StorUploadRequest) GetSet() uint32
func (*StorUploadRequest) GetSig ¶
func (m *StorUploadRequest) GetSig() []byte
func (*StorUploadRequest) Marshal ¶
func (m *StorUploadRequest) Marshal() (dAtA []byte, err error)
func (*StorUploadRequest) MarshalTo ¶
func (m *StorUploadRequest) MarshalTo(dAtA []byte) (int, error)
func (*StorUploadRequest) ProtoMessage ¶
func (*StorUploadRequest) ProtoMessage()
func (*StorUploadRequest) Reset ¶
func (m *StorUploadRequest) Reset()
func (*StorUploadRequest) Size ¶
func (m *StorUploadRequest) Size() (n int)
func (*StorUploadRequest) String ¶
func (m *StorUploadRequest) String() string
func (*StorUploadRequest) Unmarshal ¶
func (m *StorUploadRequest) Unmarshal(dAtA []byte) error
func (*StorUploadRequest) XXX_DiscardUnknown ¶
func (m *StorUploadRequest) XXX_DiscardUnknown()
func (*StorUploadRequest) XXX_Marshal ¶
func (m *StorUploadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorUploadRequest) XXX_Merge ¶
func (m *StorUploadRequest) XXX_Merge(src proto.Message)
func (*StorUploadRequest) XXX_Size ¶
func (m *StorUploadRequest) XXX_Size() int
func (*StorUploadRequest) XXX_Unmarshal ¶
func (m *StorUploadRequest) XXX_Unmarshal(b []byte) error
type StorUploadResponse ¶
type StorUploadResponse struct { ErrorCode uint32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` Uploader string `protobuf:"bytes,3,opt,name=uploader,proto3" json:"uploader,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StorUploadResponse) Descriptor ¶
func (*StorUploadResponse) Descriptor() ([]byte, []int)
func (*StorUploadResponse) GetErrorCode ¶
func (m *StorUploadResponse) GetErrorCode() uint32
func (*StorUploadResponse) GetErrorMsg ¶
func (m *StorUploadResponse) GetErrorMsg() string
func (*StorUploadResponse) GetUploader ¶
func (m *StorUploadResponse) GetUploader() string
func (*StorUploadResponse) Marshal ¶
func (m *StorUploadResponse) Marshal() (dAtA []byte, err error)
func (*StorUploadResponse) MarshalTo ¶
func (m *StorUploadResponse) MarshalTo(dAtA []byte) (int, error)
func (*StorUploadResponse) ProtoMessage ¶
func (*StorUploadResponse) ProtoMessage()
func (*StorUploadResponse) Reset ¶
func (m *StorUploadResponse) Reset()
func (*StorUploadResponse) Size ¶
func (m *StorUploadResponse) Size() (n int)
func (*StorUploadResponse) String ¶
func (m *StorUploadResponse) String() string
func (*StorUploadResponse) Unmarshal ¶
func (m *StorUploadResponse) Unmarshal(dAtA []byte) error
func (*StorUploadResponse) XXX_DiscardUnknown ¶
func (m *StorUploadResponse) XXX_DiscardUnknown()
func (*StorUploadResponse) XXX_Marshal ¶
func (m *StorUploadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorUploadResponse) XXX_Merge ¶
func (m *StorUploadResponse) XXX_Merge(src proto.Message)
func (*StorUploadResponse) XXX_Size ¶
func (m *StorUploadResponse) XXX_Size() int
func (*StorUploadResponse) XXX_Unmarshal ¶
func (m *StorUploadResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.