Documentation ¶
Index ¶
- Variables
- func RegisterNftServiceServer(s *grpc.Server, srv NftServiceServer)
- type NftServiceClient
- type NftServiceServer
- type NftTab
- func (*NftTab) Descriptor() ([]byte, []int)
- func (m *NftTab) GetAddress() string
- func (m *NftTab) GetChainId() string
- func (m *NftTab) GetDescription() string
- func (m *NftTab) GetFileHash() string
- func (m *NftTab) GetFileName() string
- func (m *NftTab) GetFileSize() int32
- func (m *NftTab) GetSignature() string
- func (m *NftTab) GetThumbnail() string
- func (m *NftTab) GetTimeCreated() time.Time
- func (m *NftTab) GetTransactionId() string
- func (m *NftTab) GettableName() string
- func (m *NftTab) Marshal() (dAtA []byte, err error)
- func (m *NftTab) MarshalTo(dAtA []byte) (int, error)
- func (m *NftTab) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NftTab) ProtoMessage()
- func (m *NftTab) Reset()
- func (m *NftTab) Size() (n int)
- func (m *NftTab) String() string
- func (m *NftTab) Unmarshal(dAtA []byte) error
- func (m *NftTab) XXX_DiscardUnknown()
- func (m *NftTab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NftTab) XXX_Merge(src proto.Message)
- func (*NftTab) XXX_MessageName() string
- func (m *NftTab) XXX_Size() int
- func (m *NftTab) XXX_Unmarshal(b []byte) error
- type ReqCheckDownload
- func (*ReqCheckDownload) Descriptor() ([]byte, []int)
- func (m *ReqCheckDownload) GetAddress() string
- func (m *ReqCheckDownload) GetChainId() string
- func (m *ReqCheckDownload) GetFileHash() string
- func (m *ReqCheckDownload) GetSignature() string
- func (m *ReqCheckDownload) Marshal() (dAtA []byte, err error)
- func (m *ReqCheckDownload) MarshalTo(dAtA []byte) (int, error)
- func (m *ReqCheckDownload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReqCheckDownload) ProtoMessage()
- func (m *ReqCheckDownload) Reset()
- func (m *ReqCheckDownload) Size() (n int)
- func (m *ReqCheckDownload) String() string
- func (m *ReqCheckDownload) Unmarshal(dAtA []byte) error
- func (m *ReqCheckDownload) XXX_DiscardUnknown()
- func (m *ReqCheckDownload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqCheckDownload) XXX_Merge(src proto.Message)
- func (*ReqCheckDownload) XXX_MessageName() string
- func (m *ReqCheckDownload) XXX_Size() int
- func (m *ReqCheckDownload) XXX_Unmarshal(b []byte) error
- type ReqGetFiles
- func (*ReqGetFiles) Descriptor() ([]byte, []int)
- func (m *ReqGetFiles) GetAddress() string
- func (m *ReqGetFiles) GetChainId() string
- func (m *ReqGetFiles) GetLimit() int32
- func (m *ReqGetFiles) GetSignature() string
- func (m *ReqGetFiles) GetStart() int32
- func (m *ReqGetFiles) Marshal() (dAtA []byte, err error)
- func (m *ReqGetFiles) MarshalTo(dAtA []byte) (int, error)
- func (m *ReqGetFiles) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReqGetFiles) ProtoMessage()
- func (m *ReqGetFiles) Reset()
- func (m *ReqGetFiles) Size() (n int)
- func (m *ReqGetFiles) String() string
- func (m *ReqGetFiles) Unmarshal(dAtA []byte) error
- func (m *ReqGetFiles) XXX_DiscardUnknown()
- func (m *ReqGetFiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqGetFiles) XXX_Merge(src proto.Message)
- func (*ReqGetFiles) XXX_MessageName() string
- func (m *ReqGetFiles) XXX_Size() int
- func (m *ReqGetFiles) XXX_Unmarshal(b []byte) error
- type ReqSubscribe
- func (*ReqSubscribe) Descriptor() ([]byte, []int)
- func (m *ReqSubscribe) GetAddress() string
- func (m *ReqSubscribe) GetChainId() string
- func (m *ReqSubscribe) GetEmail() string
- func (m *ReqSubscribe) Marshal() (dAtA []byte, err error)
- func (m *ReqSubscribe) MarshalTo(dAtA []byte) (int, error)
- func (m *ReqSubscribe) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReqSubscribe) ProtoMessage()
- func (m *ReqSubscribe) Reset()
- func (m *ReqSubscribe) Size() (n int)
- func (m *ReqSubscribe) String() string
- func (m *ReqSubscribe) Unmarshal(dAtA []byte) error
- func (m *ReqSubscribe) XXX_DiscardUnknown()
- func (m *ReqSubscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqSubscribe) XXX_Merge(src proto.Message)
- func (*ReqSubscribe) XXX_MessageName() string
- func (m *ReqSubscribe) XXX_Size() int
- func (m *ReqSubscribe) XXX_Unmarshal(b []byte) error
- type ReqUpLoad
- func (*ReqUpLoad) Descriptor() ([]byte, []int)
- func (m *ReqUpLoad) GetAddress() string
- func (m *ReqUpLoad) GetChainId() string
- func (m *ReqUpLoad) GetDescription() string
- func (m *ReqUpLoad) GetFileHash() string
- func (m *ReqUpLoad) GetFileName() string
- func (m *ReqUpLoad) GetFileSize() int32
- func (m *ReqUpLoad) GetSignature() string
- func (m *ReqUpLoad) GetThumbnail() string
- func (m *ReqUpLoad) GetTransactionId() string
- func (m *ReqUpLoad) Marshal() (dAtA []byte, err error)
- func (m *ReqUpLoad) MarshalTo(dAtA []byte) (int, error)
- func (m *ReqUpLoad) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReqUpLoad) ProtoMessage()
- func (m *ReqUpLoad) Reset()
- func (m *ReqUpLoad) Size() (n int)
- func (m *ReqUpLoad) String() string
- func (m *ReqUpLoad) Unmarshal(dAtA []byte) error
- func (m *ReqUpLoad) XXX_DiscardUnknown()
- func (m *ReqUpLoad) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqUpLoad) XXX_Merge(src proto.Message)
- func (*ReqUpLoad) XXX_MessageName() string
- func (m *ReqUpLoad) XXX_Size() int
- func (m *ReqUpLoad) XXX_Unmarshal(b []byte) error
- type RespCheckDownload
- func (*RespCheckDownload) Descriptor() ([]byte, []int)
- func (m *RespCheckDownload) GetAddress() string
- func (m *RespCheckDownload) GetCode() int32
- func (m *RespCheckDownload) GetExists() bool
- func (m *RespCheckDownload) GetFileHash() string
- func (m *RespCheckDownload) GetMessage() string
- func (m *RespCheckDownload) Marshal() (dAtA []byte, err error)
- func (m *RespCheckDownload) MarshalTo(dAtA []byte) (int, error)
- func (m *RespCheckDownload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RespCheckDownload) ProtoMessage()
- func (m *RespCheckDownload) Reset()
- func (m *RespCheckDownload) Size() (n int)
- func (m *RespCheckDownload) String() string
- func (m *RespCheckDownload) Unmarshal(dAtA []byte) error
- func (m *RespCheckDownload) XXX_DiscardUnknown()
- func (m *RespCheckDownload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespCheckDownload) XXX_Merge(src proto.Message)
- func (*RespCheckDownload) XXX_MessageName() string
- func (m *RespCheckDownload) XXX_Size() int
- func (m *RespCheckDownload) XXX_Unmarshal(b []byte) error
- type RespGetFiles
- func (*RespGetFiles) Descriptor() ([]byte, []int)
- func (m *RespGetFiles) GetAddress() string
- func (m *RespGetFiles) GetCode() int32
- func (m *RespGetFiles) GetFiles() []*NftTab
- func (m *RespGetFiles) GetMessage() string
- func (m *RespGetFiles) GetTotal() int32
- func (m *RespGetFiles) Marshal() (dAtA []byte, err error)
- func (m *RespGetFiles) MarshalTo(dAtA []byte) (int, error)
- func (m *RespGetFiles) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RespGetFiles) ProtoMessage()
- func (m *RespGetFiles) Reset()
- func (m *RespGetFiles) Size() (n int)
- func (m *RespGetFiles) String() string
- func (m *RespGetFiles) Unmarshal(dAtA []byte) error
- func (m *RespGetFiles) XXX_DiscardUnknown()
- func (m *RespGetFiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespGetFiles) XXX_Merge(src proto.Message)
- func (*RespGetFiles) XXX_MessageName() string
- func (m *RespGetFiles) XXX_Size() int
- func (m *RespGetFiles) XXX_Unmarshal(b []byte) error
- type RespSubscribe
- func (*RespSubscribe) Descriptor() ([]byte, []int)
- func (m *RespSubscribe) GetAddress() string
- func (m *RespSubscribe) GetCode() int32
- func (m *RespSubscribe) GetMessage() string
- func (m *RespSubscribe) Marshal() (dAtA []byte, err error)
- func (m *RespSubscribe) MarshalTo(dAtA []byte) (int, error)
- func (m *RespSubscribe) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RespSubscribe) ProtoMessage()
- func (m *RespSubscribe) Reset()
- func (m *RespSubscribe) Size() (n int)
- func (m *RespSubscribe) String() string
- func (m *RespSubscribe) Unmarshal(dAtA []byte) error
- func (m *RespSubscribe) XXX_DiscardUnknown()
- func (m *RespSubscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespSubscribe) XXX_Merge(src proto.Message)
- func (*RespSubscribe) XXX_MessageName() string
- func (m *RespSubscribe) XXX_Size() int
- func (m *RespSubscribe) XXX_Unmarshal(b []byte) error
- type RespUpLoad
- func (*RespUpLoad) Descriptor() ([]byte, []int)
- func (m *RespUpLoad) GetAddress() string
- func (m *RespUpLoad) GetCode() int32
- func (m *RespUpLoad) GetMessage() string
- func (m *RespUpLoad) Marshal() (dAtA []byte, err error)
- func (m *RespUpLoad) MarshalTo(dAtA []byte) (int, error)
- func (m *RespUpLoad) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RespUpLoad) ProtoMessage()
- func (m *RespUpLoad) Reset()
- func (m *RespUpLoad) Size() (n int)
- func (m *RespUpLoad) String() string
- func (m *RespUpLoad) Unmarshal(dAtA []byte) error
- func (m *RespUpLoad) XXX_DiscardUnknown()
- func (m *RespUpLoad) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespUpLoad) XXX_Merge(src proto.Message)
- func (*RespUpLoad) XXX_MessageName() string
- func (m *RespUpLoad) XXX_Size() int
- func (m *RespUpLoad) XXX_Unmarshal(b []byte) error
- type UnimplementedNftServiceServer
- func (*UnimplementedNftServiceServer) CheckDownload(ctx context.Context, req *ReqCheckDownload) (*RespCheckDownload, error)
- func (*UnimplementedNftServiceServer) GetFiles(ctx context.Context, req *ReqGetFiles) (*RespGetFiles, error)
- func (*UnimplementedNftServiceServer) Subscribe(ctx context.Context, req *ReqSubscribe) (*RespSubscribe, error)
- func (*UnimplementedNftServiceServer) UpLoad(ctx context.Context, req *ReqUpLoad) (*RespUpLoad, error)
- type UserTab
- func (*UserTab) Descriptor() ([]byte, []int)
- func (m *UserTab) GetAddress() string
- func (m *UserTab) GetChainId() string
- func (m *UserTab) GetEmail() string
- func (m *UserTab) GetIsSubscribed() int32
- func (m *UserTab) GetTimeCreated() time.Time
- func (m *UserTab) GettableName() string
- func (m *UserTab) Marshal() (dAtA []byte, err error)
- func (m *UserTab) MarshalTo(dAtA []byte) (int, error)
- func (m *UserTab) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserTab) ProtoMessage()
- func (m *UserTab) Reset()
- func (m *UserTab) Size() (n int)
- func (m *UserTab) String() string
- func (m *UserTab) Unmarshal(dAtA []byte) error
- func (m *UserTab) XXX_DiscardUnknown()
- func (m *UserTab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserTab) XXX_Merge(src proto.Message)
- func (*UserTab) XXX_MessageName() string
- func (m *UserTab) XXX_Size() int
- func (m *UserTab) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterNftServiceServer ¶
func RegisterNftServiceServer(s *grpc.Server, srv NftServiceServer)
Types ¶
type NftServiceClient ¶
type NftServiceClient interface { UpLoad(ctx context.Context, in *ReqUpLoad, opts ...grpc.CallOption) (*RespUpLoad, error) CheckDownload(ctx context.Context, in *ReqCheckDownload, opts ...grpc.CallOption) (*RespCheckDownload, error) GetFiles(ctx context.Context, in *ReqGetFiles, opts ...grpc.CallOption) (*RespGetFiles, error) Subscribe(ctx context.Context, in *ReqSubscribe, opts ...grpc.CallOption) (*RespSubscribe, error) }
NftServiceClient is the client API for NftService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNftServiceClient ¶
func NewNftServiceClient(cc *grpc.ClientConn) NftServiceClient
type NftServiceServer ¶
type NftServiceServer interface { UpLoad(context.Context, *ReqUpLoad) (*RespUpLoad, error) CheckDownload(context.Context, *ReqCheckDownload) (*RespCheckDownload, error) GetFiles(context.Context, *ReqGetFiles) (*RespGetFiles, error) Subscribe(context.Context, *ReqSubscribe) (*RespSubscribe, error) }
NftServiceServer is the server API for NftService service.
type NftTab ¶
type NftTab struct { Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" pg:"address"` ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" pg:"chain_id"` FileHash string `protobuf:"bytes,4,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` FileName string `protobuf:"bytes,5,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty" pg:"file_name"` FileSize int32 `protobuf:"varint,6,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty" pg:"file_size"` Thumbnail string `protobuf:"bytes,7,opt,name=thumbnail,proto3" json:"thumbnail,omitempty" pg:"thumbnail"` TransactionId string `protobuf:"bytes,8,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty" pg:"transaction_id"` Signature string `protobuf:"bytes,9,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"` Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty" pg:"description"` TimeCreated time.Time `protobuf:"bytes,11,opt,name=time_created,json=timeCreated,proto3,stdtime" json:"time_created" pg:"time_created"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` // contains filtered or unexported fields }
func NewPopulatedNftTab ¶
func (*NftTab) Descriptor ¶
func (*NftTab) GetAddress ¶
func (*NftTab) GetChainId ¶
func (*NftTab) GetDescription ¶
func (*NftTab) GetFileHash ¶
func (*NftTab) GetFileName ¶
func (*NftTab) GetFileSize ¶
func (*NftTab) GetSignature ¶
func (*NftTab) GetThumbnail ¶
func (*NftTab) GetTimeCreated ¶
func (*NftTab) GetTransactionId ¶
func (*NftTab) GettableName ¶
func (*NftTab) MarshalToSizedBuffer ¶
func (*NftTab) ProtoMessage ¶
func (*NftTab) ProtoMessage()
func (*NftTab) XXX_DiscardUnknown ¶
func (m *NftTab) XXX_DiscardUnknown()
func (*NftTab) XXX_Marshal ¶
func (*NftTab) XXX_MessageName ¶
func (*NftTab) XXX_Unmarshal ¶
type ReqCheckDownload ¶
type ReqCheckDownload struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" pg:"address"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" pg:"chain_id"` Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"` FileHash string `protobuf:"bytes,4,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
check download
func NewPopulatedReqCheckDownload ¶
func NewPopulatedReqCheckDownload(r randyNft, easy bool) *ReqCheckDownload
func (*ReqCheckDownload) Descriptor ¶
func (*ReqCheckDownload) Descriptor() ([]byte, []int)
func (*ReqCheckDownload) GetAddress ¶
func (m *ReqCheckDownload) GetAddress() string
func (*ReqCheckDownload) GetChainId ¶
func (m *ReqCheckDownload) GetChainId() string
func (*ReqCheckDownload) GetFileHash ¶
func (m *ReqCheckDownload) GetFileHash() string
func (*ReqCheckDownload) GetSignature ¶
func (m *ReqCheckDownload) GetSignature() string
func (*ReqCheckDownload) Marshal ¶
func (m *ReqCheckDownload) Marshal() (dAtA []byte, err error)
func (*ReqCheckDownload) MarshalToSizedBuffer ¶
func (m *ReqCheckDownload) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReqCheckDownload) ProtoMessage ¶
func (*ReqCheckDownload) ProtoMessage()
func (*ReqCheckDownload) Reset ¶
func (m *ReqCheckDownload) Reset()
func (*ReqCheckDownload) Size ¶
func (m *ReqCheckDownload) Size() (n int)
func (*ReqCheckDownload) String ¶
func (m *ReqCheckDownload) String() string
func (*ReqCheckDownload) Unmarshal ¶
func (m *ReqCheckDownload) Unmarshal(dAtA []byte) error
func (*ReqCheckDownload) XXX_DiscardUnknown ¶
func (m *ReqCheckDownload) XXX_DiscardUnknown()
func (*ReqCheckDownload) XXX_Marshal ¶
func (m *ReqCheckDownload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqCheckDownload) XXX_Merge ¶
func (m *ReqCheckDownload) XXX_Merge(src proto.Message)
func (*ReqCheckDownload) XXX_MessageName ¶
func (*ReqCheckDownload) XXX_MessageName() string
func (*ReqCheckDownload) XXX_Size ¶
func (m *ReqCheckDownload) XXX_Size() int
func (*ReqCheckDownload) XXX_Unmarshal ¶
func (m *ReqCheckDownload) XXX_Unmarshal(b []byte) error
type ReqGetFiles ¶
type ReqGetFiles struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" pg:"address"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" pg:"chain_id"` Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"` Start int32 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty" pg:"start"` Limit int32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty" pg:"limit"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedReqGetFiles ¶
func NewPopulatedReqGetFiles(r randyNft, easy bool) *ReqGetFiles
func (*ReqGetFiles) Descriptor ¶
func (*ReqGetFiles) Descriptor() ([]byte, []int)
func (*ReqGetFiles) GetAddress ¶
func (m *ReqGetFiles) GetAddress() string
func (*ReqGetFiles) GetChainId ¶
func (m *ReqGetFiles) GetChainId() string
func (*ReqGetFiles) GetLimit ¶
func (m *ReqGetFiles) GetLimit() int32
func (*ReqGetFiles) GetSignature ¶
func (m *ReqGetFiles) GetSignature() string
func (*ReqGetFiles) GetStart ¶
func (m *ReqGetFiles) GetStart() int32
func (*ReqGetFiles) Marshal ¶
func (m *ReqGetFiles) Marshal() (dAtA []byte, err error)
func (*ReqGetFiles) MarshalToSizedBuffer ¶
func (m *ReqGetFiles) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReqGetFiles) ProtoMessage ¶
func (*ReqGetFiles) ProtoMessage()
func (*ReqGetFiles) Reset ¶
func (m *ReqGetFiles) Reset()
func (*ReqGetFiles) Size ¶
func (m *ReqGetFiles) Size() (n int)
func (*ReqGetFiles) String ¶
func (m *ReqGetFiles) String() string
func (*ReqGetFiles) Unmarshal ¶
func (m *ReqGetFiles) Unmarshal(dAtA []byte) error
func (*ReqGetFiles) XXX_DiscardUnknown ¶
func (m *ReqGetFiles) XXX_DiscardUnknown()
func (*ReqGetFiles) XXX_Marshal ¶
func (m *ReqGetFiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqGetFiles) XXX_Merge ¶
func (m *ReqGetFiles) XXX_Merge(src proto.Message)
func (*ReqGetFiles) XXX_MessageName ¶
func (*ReqGetFiles) XXX_MessageName() string
func (*ReqGetFiles) XXX_Size ¶
func (m *ReqGetFiles) XXX_Size() int
func (*ReqGetFiles) XXX_Unmarshal ¶
func (m *ReqGetFiles) XXX_Unmarshal(b []byte) error
type ReqSubscribe ¶
type ReqSubscribe struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" pg:"address"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" pg:"chain_id"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty" pg:"email"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
subscribe
func NewPopulatedReqSubscribe ¶
func NewPopulatedReqSubscribe(r randyNft, easy bool) *ReqSubscribe
func (*ReqSubscribe) Descriptor ¶
func (*ReqSubscribe) Descriptor() ([]byte, []int)
func (*ReqSubscribe) GetAddress ¶
func (m *ReqSubscribe) GetAddress() string
func (*ReqSubscribe) GetChainId ¶
func (m *ReqSubscribe) GetChainId() string
func (*ReqSubscribe) GetEmail ¶
func (m *ReqSubscribe) GetEmail() string
func (*ReqSubscribe) Marshal ¶
func (m *ReqSubscribe) Marshal() (dAtA []byte, err error)
func (*ReqSubscribe) MarshalToSizedBuffer ¶
func (m *ReqSubscribe) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReqSubscribe) ProtoMessage ¶
func (*ReqSubscribe) ProtoMessage()
func (*ReqSubscribe) Reset ¶
func (m *ReqSubscribe) Reset()
func (*ReqSubscribe) Size ¶
func (m *ReqSubscribe) Size() (n int)
func (*ReqSubscribe) String ¶
func (m *ReqSubscribe) String() string
func (*ReqSubscribe) Unmarshal ¶
func (m *ReqSubscribe) Unmarshal(dAtA []byte) error
func (*ReqSubscribe) XXX_DiscardUnknown ¶
func (m *ReqSubscribe) XXX_DiscardUnknown()
func (*ReqSubscribe) XXX_Marshal ¶
func (m *ReqSubscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqSubscribe) XXX_Merge ¶
func (m *ReqSubscribe) XXX_Merge(src proto.Message)
func (*ReqSubscribe) XXX_MessageName ¶
func (*ReqSubscribe) XXX_MessageName() string
func (*ReqSubscribe) XXX_Size ¶
func (m *ReqSubscribe) XXX_Size() int
func (*ReqSubscribe) XXX_Unmarshal ¶
func (m *ReqSubscribe) XXX_Unmarshal(b []byte) error
type ReqUpLoad ¶
type ReqUpLoad struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" pg:"address"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" pg:"chain_id"` FileHash string `protobuf:"bytes,3,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty" pg:"file_name"` FileSize int32 `protobuf:"varint,5,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty" pg:"file_size"` Thumbnail string `protobuf:"bytes,6,opt,name=thumbnail,proto3" json:"thumbnail,omitempty" pg:"thumbnail"` TransactionId string `protobuf:"bytes,7,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty" pg:"transaction_id"` Signature string `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"` Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty" pg:"description"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
upload
func NewPopulatedReqUpLoad ¶
func (*ReqUpLoad) Descriptor ¶
func (*ReqUpLoad) GetAddress ¶
func (*ReqUpLoad) GetChainId ¶
func (*ReqUpLoad) GetDescription ¶
func (*ReqUpLoad) GetFileHash ¶
func (*ReqUpLoad) GetFileName ¶
func (*ReqUpLoad) GetFileSize ¶
func (*ReqUpLoad) GetSignature ¶
func (*ReqUpLoad) GetThumbnail ¶
func (*ReqUpLoad) GetTransactionId ¶
func (*ReqUpLoad) MarshalToSizedBuffer ¶
func (*ReqUpLoad) ProtoMessage ¶
func (*ReqUpLoad) ProtoMessage()
func (*ReqUpLoad) XXX_DiscardUnknown ¶
func (m *ReqUpLoad) XXX_DiscardUnknown()
func (*ReqUpLoad) XXX_Marshal ¶
func (*ReqUpLoad) XXX_MessageName ¶
func (*ReqUpLoad) XXX_Unmarshal ¶
type RespCheckDownload ¶
type RespCheckDownload struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty" pg:"code"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" pg:"message"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty" pg:"address"` FileHash string `protobuf:"bytes,4,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` Exists bool `protobuf:"varint,5,opt,name=exists,proto3" json:"exists,omitempty" pg:"exists"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedRespCheckDownload ¶
func NewPopulatedRespCheckDownload(r randyNft, easy bool) *RespCheckDownload
func (*RespCheckDownload) Descriptor ¶
func (*RespCheckDownload) Descriptor() ([]byte, []int)
func (*RespCheckDownload) GetAddress ¶
func (m *RespCheckDownload) GetAddress() string
func (*RespCheckDownload) GetCode ¶
func (m *RespCheckDownload) GetCode() int32
func (*RespCheckDownload) GetExists ¶
func (m *RespCheckDownload) GetExists() bool
func (*RespCheckDownload) GetFileHash ¶
func (m *RespCheckDownload) GetFileHash() string
func (*RespCheckDownload) GetMessage ¶
func (m *RespCheckDownload) GetMessage() string
func (*RespCheckDownload) Marshal ¶
func (m *RespCheckDownload) Marshal() (dAtA []byte, err error)
func (*RespCheckDownload) MarshalTo ¶
func (m *RespCheckDownload) MarshalTo(dAtA []byte) (int, error)
func (*RespCheckDownload) MarshalToSizedBuffer ¶
func (m *RespCheckDownload) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RespCheckDownload) ProtoMessage ¶
func (*RespCheckDownload) ProtoMessage()
func (*RespCheckDownload) Reset ¶
func (m *RespCheckDownload) Reset()
func (*RespCheckDownload) Size ¶
func (m *RespCheckDownload) Size() (n int)
func (*RespCheckDownload) String ¶
func (m *RespCheckDownload) String() string
func (*RespCheckDownload) Unmarshal ¶
func (m *RespCheckDownload) Unmarshal(dAtA []byte) error
func (*RespCheckDownload) XXX_DiscardUnknown ¶
func (m *RespCheckDownload) XXX_DiscardUnknown()
func (*RespCheckDownload) XXX_Marshal ¶
func (m *RespCheckDownload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RespCheckDownload) XXX_Merge ¶
func (m *RespCheckDownload) XXX_Merge(src proto.Message)
func (*RespCheckDownload) XXX_MessageName ¶
func (*RespCheckDownload) XXX_MessageName() string
func (*RespCheckDownload) XXX_Size ¶
func (m *RespCheckDownload) XXX_Size() int
func (*RespCheckDownload) XXX_Unmarshal ¶
func (m *RespCheckDownload) XXX_Unmarshal(b []byte) error
type RespGetFiles ¶
type RespGetFiles struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty" pg:"code"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" pg:"message"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty" pg:"address"` Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty" pg:"total"` Files []*NftTab `protobuf:"bytes,5,rep,name=files,proto3" json:"files,omitempty" pg:"files"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedRespGetFiles ¶
func NewPopulatedRespGetFiles(r randyNft, easy bool) *RespGetFiles
func (*RespGetFiles) Descriptor ¶
func (*RespGetFiles) Descriptor() ([]byte, []int)
func (*RespGetFiles) GetAddress ¶
func (m *RespGetFiles) GetAddress() string
func (*RespGetFiles) GetCode ¶
func (m *RespGetFiles) GetCode() int32
func (*RespGetFiles) GetFiles ¶
func (m *RespGetFiles) GetFiles() []*NftTab
func (*RespGetFiles) GetMessage ¶
func (m *RespGetFiles) GetMessage() string
func (*RespGetFiles) GetTotal ¶
func (m *RespGetFiles) GetTotal() int32
func (*RespGetFiles) Marshal ¶
func (m *RespGetFiles) Marshal() (dAtA []byte, err error)
func (*RespGetFiles) MarshalToSizedBuffer ¶
func (m *RespGetFiles) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RespGetFiles) ProtoMessage ¶
func (*RespGetFiles) ProtoMessage()
func (*RespGetFiles) Reset ¶
func (m *RespGetFiles) Reset()
func (*RespGetFiles) Size ¶
func (m *RespGetFiles) Size() (n int)
func (*RespGetFiles) String ¶
func (m *RespGetFiles) String() string
func (*RespGetFiles) Unmarshal ¶
func (m *RespGetFiles) Unmarshal(dAtA []byte) error
func (*RespGetFiles) XXX_DiscardUnknown ¶
func (m *RespGetFiles) XXX_DiscardUnknown()
func (*RespGetFiles) XXX_Marshal ¶
func (m *RespGetFiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RespGetFiles) XXX_Merge ¶
func (m *RespGetFiles) XXX_Merge(src proto.Message)
func (*RespGetFiles) XXX_MessageName ¶
func (*RespGetFiles) XXX_MessageName() string
func (*RespGetFiles) XXX_Size ¶
func (m *RespGetFiles) XXX_Size() int
func (*RespGetFiles) XXX_Unmarshal ¶
func (m *RespGetFiles) XXX_Unmarshal(b []byte) error
type RespSubscribe ¶
type RespSubscribe struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty" pg:"code"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" pg:"message"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty" pg:"address"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedRespSubscribe ¶
func NewPopulatedRespSubscribe(r randyNft, easy bool) *RespSubscribe
func (*RespSubscribe) Descriptor ¶
func (*RespSubscribe) Descriptor() ([]byte, []int)
func (*RespSubscribe) GetAddress ¶
func (m *RespSubscribe) GetAddress() string
func (*RespSubscribe) GetCode ¶
func (m *RespSubscribe) GetCode() int32
func (*RespSubscribe) GetMessage ¶
func (m *RespSubscribe) GetMessage() string
func (*RespSubscribe) Marshal ¶
func (m *RespSubscribe) Marshal() (dAtA []byte, err error)
func (*RespSubscribe) MarshalToSizedBuffer ¶
func (m *RespSubscribe) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RespSubscribe) ProtoMessage ¶
func (*RespSubscribe) ProtoMessage()
func (*RespSubscribe) Reset ¶
func (m *RespSubscribe) Reset()
func (*RespSubscribe) Size ¶
func (m *RespSubscribe) Size() (n int)
func (*RespSubscribe) String ¶
func (m *RespSubscribe) String() string
func (*RespSubscribe) Unmarshal ¶
func (m *RespSubscribe) Unmarshal(dAtA []byte) error
func (*RespSubscribe) XXX_DiscardUnknown ¶
func (m *RespSubscribe) XXX_DiscardUnknown()
func (*RespSubscribe) XXX_Marshal ¶
func (m *RespSubscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RespSubscribe) XXX_Merge ¶
func (m *RespSubscribe) XXX_Merge(src proto.Message)
func (*RespSubscribe) XXX_MessageName ¶
func (*RespSubscribe) XXX_MessageName() string
func (*RespSubscribe) XXX_Size ¶
func (m *RespSubscribe) XXX_Size() int
func (*RespSubscribe) XXX_Unmarshal ¶
func (m *RespSubscribe) XXX_Unmarshal(b []byte) error
type RespUpLoad ¶
type RespUpLoad struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty" pg:"code"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" pg:"message"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty" pg:"address"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedRespUpLoad ¶
func NewPopulatedRespUpLoad(r randyNft, easy bool) *RespUpLoad
func (*RespUpLoad) Descriptor ¶
func (*RespUpLoad) Descriptor() ([]byte, []int)
func (*RespUpLoad) GetAddress ¶
func (m *RespUpLoad) GetAddress() string
func (*RespUpLoad) GetCode ¶
func (m *RespUpLoad) GetCode() int32
func (*RespUpLoad) GetMessage ¶
func (m *RespUpLoad) GetMessage() string
func (*RespUpLoad) Marshal ¶
func (m *RespUpLoad) Marshal() (dAtA []byte, err error)
func (*RespUpLoad) MarshalToSizedBuffer ¶
func (m *RespUpLoad) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RespUpLoad) ProtoMessage ¶
func (*RespUpLoad) ProtoMessage()
func (*RespUpLoad) Reset ¶
func (m *RespUpLoad) Reset()
func (*RespUpLoad) Size ¶
func (m *RespUpLoad) Size() (n int)
func (*RespUpLoad) String ¶
func (m *RespUpLoad) String() string
func (*RespUpLoad) Unmarshal ¶
func (m *RespUpLoad) Unmarshal(dAtA []byte) error
func (*RespUpLoad) XXX_DiscardUnknown ¶
func (m *RespUpLoad) XXX_DiscardUnknown()
func (*RespUpLoad) XXX_Marshal ¶
func (m *RespUpLoad) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RespUpLoad) XXX_Merge ¶
func (m *RespUpLoad) XXX_Merge(src proto.Message)
func (*RespUpLoad) XXX_MessageName ¶
func (*RespUpLoad) XXX_MessageName() string
func (*RespUpLoad) XXX_Size ¶
func (m *RespUpLoad) XXX_Size() int
func (*RespUpLoad) XXX_Unmarshal ¶
func (m *RespUpLoad) XXX_Unmarshal(b []byte) error
type UnimplementedNftServiceServer ¶
type UnimplementedNftServiceServer struct { }
UnimplementedNftServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedNftServiceServer) CheckDownload ¶
func (*UnimplementedNftServiceServer) CheckDownload(ctx context.Context, req *ReqCheckDownload) (*RespCheckDownload, error)
func (*UnimplementedNftServiceServer) GetFiles ¶
func (*UnimplementedNftServiceServer) GetFiles(ctx context.Context, req *ReqGetFiles) (*RespGetFiles, error)
func (*UnimplementedNftServiceServer) Subscribe ¶
func (*UnimplementedNftServiceServer) Subscribe(ctx context.Context, req *ReqSubscribe) (*RespSubscribe, error)
func (*UnimplementedNftServiceServer) UpLoad ¶
func (*UnimplementedNftServiceServer) UpLoad(ctx context.Context, req *ReqUpLoad) (*RespUpLoad, error)
type UserTab ¶
type UserTab struct { Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" pg:"address"` ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" pg:"chain_id"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty" pg:"email"` IsSubscribed int32 `protobuf:"varint,5,opt,name=is_subscribed,json=isSubscribed,proto3" json:"is_subscribed,omitempty" pg:"is_subscribed"` TimeCreated time.Time `protobuf:"bytes,6,opt,name=time_created,json=timeCreated,proto3,stdtime" json:"time_created" pg:"time_created"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` // contains filtered or unexported fields }
func NewPopulatedUserTab ¶
func (*UserTab) Descriptor ¶
func (*UserTab) GetAddress ¶
func (*UserTab) GetChainId ¶
func (*UserTab) GetIsSubscribed ¶
func (*UserTab) GetTimeCreated ¶
func (*UserTab) GettableName ¶
func (*UserTab) MarshalToSizedBuffer ¶
func (*UserTab) ProtoMessage ¶
func (*UserTab) ProtoMessage()
func (*UserTab) XXX_DiscardUnknown ¶
func (m *UserTab) XXX_DiscardUnknown()
func (*UserTab) XXX_Marshal ¶
func (*UserTab) XXX_MessageName ¶
func (*UserTab) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.