nft

package
v0.8.1-nft Latest Latest
Warning

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

Go to latest
Published: Aug 24, 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)
}

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

func (m *NftTab) GetFileName() string

func (*NftTab) GetFileSize

func (m *NftTab) GetFileSize() int32

func (*NftTab) GetSignature

func (m *NftTab) GetSignature() string

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) 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:"-"`
}

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 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"`
	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 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) GetFileName

func (m *ReqUpLoad) GetFileName() string

func (*ReqUpLoad) GetFileSize

func (m *ReqUpLoad) GetFileSize() int32

func (*ReqUpLoad) GetSignature

func (m *ReqUpLoad) GetSignature() string

func (*ReqUpLoad) GetThumbnail

func (m *ReqUpLoad) GetThumbnail() string

func (*ReqUpLoad) GetTransactionId

func (m *ReqUpLoad) GetTransactionId() 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"`
	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) 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 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) 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