nft

package
v0.8.3-pre1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthNft        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNft          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupNft = fmt.Errorf("proto: unexpected end of group")
)

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)
	Status(ctx context.Context, in *ReqStatus, opts ...grpc.CallOption) (*RespStatus, 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)
	Status(context.Context, *ReqStatus) (*RespStatus, 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"`
	Name                 string    `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty" pg:"name"`
	Type                 string    `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty" pg:"type"`
	Size_                int32     `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty" pg:"size"`
	Thumbnail            string    `protobuf:"bytes,8,opt,name=thumbnail,proto3" json:"thumbnail,omitempty" pg:"thumbnail"`
	TransactionId        string    `protobuf:"bytes,9,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty" pg:"transaction_id"`
	Signature            string    `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"`
	Description          string    `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty" pg:"description"`
	TimeCreated          time.Time `protobuf:"bytes,12,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 NewPopulatedNftTab(r randyNft, easy bool) *NftTab

func (*NftTab) Descriptor

func (*NftTab) Descriptor() ([]byte, []int)

func (*NftTab) GetAddress

func (m *NftTab) GetAddress() string

func (*NftTab) GetChainId

func (m *NftTab) GetChainId() string

func (*NftTab) GetDescription

func (m *NftTab) GetDescription() string

func (*NftTab) GetFileHash

func (m *NftTab) GetFileHash() string

func (*NftTab) GetName

func (m *NftTab) GetName() string

func (*NftTab) GetSignature

func (m *NftTab) GetSignature() string

func (*NftTab) GetSize_

func (m *NftTab) GetSize_() int32

func (*NftTab) GetThumbnail

func (m *NftTab) GetThumbnail() string

func (*NftTab) GetTimeCreated

func (m *NftTab) GetTimeCreated() time.Time

func (*NftTab) GetTransactionId

func (m *NftTab) GetTransactionId() string

func (*NftTab) GetType

func (m *NftTab) GetType() string

func (*NftTab) GettableName

func (m *NftTab) GettableName() string

func (*NftTab) Marshal

func (m *NftTab) Marshal() (dAtA []byte, err error)

func (*NftTab) MarshalTo

func (m *NftTab) MarshalTo(dAtA []byte) (int, error)

func (*NftTab) MarshalToSizedBuffer

func (m *NftTab) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NftTab) ProtoMessage

func (*NftTab) ProtoMessage()

func (*NftTab) Reset

func (m *NftTab) Reset()

func (*NftTab) Size

func (m *NftTab) Size() (n int)

func (*NftTab) String

func (m *NftTab) String() string

func (*NftTab) Unmarshal

func (m *NftTab) Unmarshal(dAtA []byte) error

func (*NftTab) XXX_DiscardUnknown

func (m *NftTab) XXX_DiscardUnknown()

func (*NftTab) XXX_Marshal

func (m *NftTab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NftTab) XXX_Merge

func (m *NftTab) XXX_Merge(src proto.Message)

func (*NftTab) XXX_MessageName

func (*NftTab) XXX_MessageName() string

func (*NftTab) XXX_Size

func (m *NftTab) XXX_Size() int

func (*NftTab) XXX_Unmarshal

func (m *NftTab) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *ReqCheckDownload) MarshalTo(dAtA []byte) (int, 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:"-"`
}

get files

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) MarshalTo

func (m *ReqGetFiles) MarshalTo(dAtA []byte) (int, 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 ReqStatus

type ReqStatus struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" pg:"address"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

status

func NewPopulatedReqStatus

func NewPopulatedReqStatus(r randyNft, easy bool) *ReqStatus

func (*ReqStatus) Descriptor

func (*ReqStatus) Descriptor() ([]byte, []int)

func (*ReqStatus) GetAddress

func (m *ReqStatus) GetAddress() string

func (*ReqStatus) Marshal

func (m *ReqStatus) Marshal() (dAtA []byte, err error)

func (*ReqStatus) MarshalTo

func (m *ReqStatus) MarshalTo(dAtA []byte) (int, error)

func (*ReqStatus) MarshalToSizedBuffer

func (m *ReqStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReqStatus) ProtoMessage

func (*ReqStatus) ProtoMessage()

func (*ReqStatus) Reset

func (m *ReqStatus) Reset()

func (*ReqStatus) Size

func (m *ReqStatus) Size() (n int)

func (*ReqStatus) String

func (m *ReqStatus) String() string

func (*ReqStatus) Unmarshal

func (m *ReqStatus) Unmarshal(dAtA []byte) error

func (*ReqStatus) XXX_DiscardUnknown

func (m *ReqStatus) XXX_DiscardUnknown()

func (*ReqStatus) XXX_Marshal

func (m *ReqStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqStatus) XXX_Merge

func (m *ReqStatus) XXX_Merge(src proto.Message)

func (*ReqStatus) XXX_MessageName

func (*ReqStatus) XXX_MessageName() string

func (*ReqStatus) XXX_Size

func (m *ReqStatus) XXX_Size() int

func (*ReqStatus) XXX_Unmarshal

func (m *ReqStatus) 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) MarshalTo

func (m *ReqSubscribe) MarshalTo(dAtA []byte) (int, 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"`
	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" pg:"name"`
	Type                 string   `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty" pg:"type"`
	Size_                int32    `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty" pg:"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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

upload

func NewPopulatedReqUpLoad

func NewPopulatedReqUpLoad(r randyNft, easy bool) *ReqUpLoad

func (*ReqUpLoad) Descriptor

func (*ReqUpLoad) Descriptor() ([]byte, []int)

func (*ReqUpLoad) GetAddress

func (m *ReqUpLoad) GetAddress() string

func (*ReqUpLoad) GetChainId

func (m *ReqUpLoad) GetChainId() string

func (*ReqUpLoad) GetDescription

func (m *ReqUpLoad) GetDescription() string

func (*ReqUpLoad) GetFileHash

func (m *ReqUpLoad) GetFileHash() string

func (*ReqUpLoad) GetName

func (m *ReqUpLoad) GetName() string

func (*ReqUpLoad) GetSignature

func (m *ReqUpLoad) GetSignature() string

func (*ReqUpLoad) GetSize_

func (m *ReqUpLoad) GetSize_() int32

func (*ReqUpLoad) GetThumbnail

func (m *ReqUpLoad) GetThumbnail() string

func (*ReqUpLoad) GetTransactionId

func (m *ReqUpLoad) GetTransactionId() string

func (*ReqUpLoad) GetType

func (m *ReqUpLoad) GetType() string

func (*ReqUpLoad) Marshal

func (m *ReqUpLoad) Marshal() (dAtA []byte, err error)

func (*ReqUpLoad) MarshalTo

func (m *ReqUpLoad) MarshalTo(dAtA []byte) (int, error)

func (*ReqUpLoad) MarshalToSizedBuffer

func (m *ReqUpLoad) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReqUpLoad) ProtoMessage

func (*ReqUpLoad) ProtoMessage()

func (*ReqUpLoad) Reset

func (m *ReqUpLoad) Reset()

func (*ReqUpLoad) Size

func (m *ReqUpLoad) Size() (n int)

func (*ReqUpLoad) String

func (m *ReqUpLoad) String() string

func (*ReqUpLoad) Unmarshal

func (m *ReqUpLoad) Unmarshal(dAtA []byte) error

func (*ReqUpLoad) XXX_DiscardUnknown

func (m *ReqUpLoad) XXX_DiscardUnknown()

func (*ReqUpLoad) XXX_Marshal

func (m *ReqUpLoad) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqUpLoad) XXX_Merge

func (m *ReqUpLoad) XXX_Merge(src proto.Message)

func (*ReqUpLoad) XXX_MessageName

func (*ReqUpLoad) XXX_MessageName() string

func (*ReqUpLoad) XXX_Size

func (m *ReqUpLoad) XXX_Size() int

func (*ReqUpLoad) XXX_Unmarshal

func (m *ReqUpLoad) XXX_Unmarshal(b []byte) error

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"`
	Exists               bool     `protobuf:"varint,4,opt,name=exists,proto3" json:"exists,omitempty" pg:"exists"`
	FileHash             string   `protobuf:"bytes,5,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"`
	Name                 string   `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty" pg:"name"`
	Type                 string   `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty" pg:"type"`
	Size_                int32    `protobuf:"varint,8,opt,name=size,proto3" json:"size,omitempty" pg:"size"`
	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) GetName

func (m *RespCheckDownload) GetName() string

func (*RespCheckDownload) GetSize_

func (m *RespCheckDownload) GetSize_() int32

func (*RespCheckDownload) GetType

func (m *RespCheckDownload) GetType() 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) MarshalTo

func (m *RespGetFiles) MarshalTo(dAtA []byte) (int, 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 RespStatus

type RespStatus 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"`
	FileCount            int32    `protobuf:"varint,4,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty" pg:"file_count"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func NewPopulatedRespStatus

func NewPopulatedRespStatus(r randyNft, easy bool) *RespStatus

func (*RespStatus) Descriptor

func (*RespStatus) Descriptor() ([]byte, []int)

func (*RespStatus) GetAddress

func (m *RespStatus) GetAddress() string

func (*RespStatus) GetCode

func (m *RespStatus) GetCode() int32

func (*RespStatus) GetFileCount

func (m *RespStatus) GetFileCount() int32

func (*RespStatus) GetMessage

func (m *RespStatus) GetMessage() string

func (*RespStatus) Marshal

func (m *RespStatus) Marshal() (dAtA []byte, err error)

func (*RespStatus) MarshalTo

func (m *RespStatus) MarshalTo(dAtA []byte) (int, error)

func (*RespStatus) MarshalToSizedBuffer

func (m *RespStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RespStatus) ProtoMessage

func (*RespStatus) ProtoMessage()

func (*RespStatus) Reset

func (m *RespStatus) Reset()

func (*RespStatus) Size

func (m *RespStatus) Size() (n int)

func (*RespStatus) String

func (m *RespStatus) String() string

func (*RespStatus) Unmarshal

func (m *RespStatus) Unmarshal(dAtA []byte) error

func (*RespStatus) XXX_DiscardUnknown

func (m *RespStatus) XXX_DiscardUnknown()

func (*RespStatus) XXX_Marshal

func (m *RespStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RespStatus) XXX_Merge

func (m *RespStatus) XXX_Merge(src proto.Message)

func (*RespStatus) XXX_MessageName

func (*RespStatus) XXX_MessageName() string

func (*RespStatus) XXX_Size

func (m *RespStatus) XXX_Size() int

func (*RespStatus) XXX_Unmarshal

func (m *RespStatus) 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) MarshalTo

func (m *RespSubscribe) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *RespUpLoad) MarshalTo(dAtA []byte) (int, 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) GetFiles

func (*UnimplementedNftServiceServer) Status

func (*UnimplementedNftServiceServer) Subscribe

func (*UnimplementedNftServiceServer) UpLoad

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 NewPopulatedUserTab(r randyNft, easy bool) *UserTab

func (*UserTab) Descriptor

func (*UserTab) Descriptor() ([]byte, []int)

func (*UserTab) GetAddress

func (m *UserTab) GetAddress() string

func (*UserTab) GetChainId

func (m *UserTab) GetChainId() string

func (*UserTab) GetEmail

func (m *UserTab) GetEmail() string

func (*UserTab) GetIsSubscribed

func (m *UserTab) GetIsSubscribed() int32

func (*UserTab) GetTimeCreated

func (m *UserTab) GetTimeCreated() time.Time

func (*UserTab) GettableName

func (m *UserTab) GettableName() string

func (*UserTab) Marshal

func (m *UserTab) Marshal() (dAtA []byte, err error)

func (*UserTab) MarshalTo

func (m *UserTab) MarshalTo(dAtA []byte) (int, error)

func (*UserTab) MarshalToSizedBuffer

func (m *UserTab) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserTab) ProtoMessage

func (*UserTab) ProtoMessage()

func (*UserTab) Reset

func (m *UserTab) Reset()

func (*UserTab) Size

func (m *UserTab) Size() (n int)

func (*UserTab) String

func (m *UserTab) String() string

func (*UserTab) Unmarshal

func (m *UserTab) Unmarshal(dAtA []byte) error

func (*UserTab) XXX_DiscardUnknown

func (m *UserTab) XXX_DiscardUnknown()

func (*UserTab) XXX_Marshal

func (m *UserTab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserTab) XXX_Merge

func (m *UserTab) XXX_Merge(src proto.Message)

func (*UserTab) XXX_MessageName

func (*UserTab) XXX_MessageName() string

func (*UserTab) XXX_Size

func (m *UserTab) XXX_Size() int

func (*UserTab) XXX_Unmarshal

func (m *UserTab) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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