service

package
v0.0.0-...-499f22c Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Overview

Package service is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package service is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	MAX_CONTENTS_SIZE = 64
)

Variables

View Source
var (
	ErrInvalidSequence = errors.New("err invalid sequence")
)
View Source
var File_service_holder_proto protoreflect.FileDescriptor
View Source
var File_service_nft_proto protoreflect.FileDescriptor
View Source
var Holder_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tak1827.lightnftindexer.service.Holder",
	HandlerType: (*HolderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListHolderNftToken",
			Handler:    _Holder_ListHolderNftToken_Handler,
		},
		{
			MethodName: "ListHolderAllNftToken",
			Handler:    _Holder_ListHolderAllNftToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/holder.proto",
}

Holder_ServiceDesc is the grpc.ServiceDesc for Holder service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Nft_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tak1827.lightnftindexer.service.Nft",
	HandlerType: (*NftServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetNftContract",
			Handler:    _Nft_GetNftContract_Handler,
		},
		{
			MethodName: "ListAllNftContract",
			Handler:    _Nft_ListAllNftContract_Handler,
		},
		{
			MethodName: "GetNftToken",
			Handler:    _Nft_GetNftToken_Handler,
		},
		{
			MethodName: "ListAllNftToken",
			Handler:    _Nft_ListAllNftToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/nft.proto",
}

Nft_ServiceDesc is the grpc.ServiceDesc for Nft service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterHolderHandler

func RegisterHolderHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterHolderHandler registers the http handlers for service Holder to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterHolderHandlerClient

func RegisterHolderHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HolderClient) error

RegisterHolderHandlerClient registers the http handlers for service Holder to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "HolderClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "HolderClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "HolderClient" to call the correct interceptors.

func RegisterHolderHandlerFromEndpoint

func RegisterHolderHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterHolderHandlerFromEndpoint is same as RegisterHolderHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterHolderHandlerServer

func RegisterHolderHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HolderServer) error

RegisterHolderHandlerServer registers the http handlers for service Holder to "mux". UnaryRPC :call HolderServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterHolderHandlerFromEndpoint instead.

func RegisterHolderServer

func RegisterHolderServer(s grpc.ServiceRegistrar, srv HolderServer)

func RegisterNftHandler

func RegisterNftHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterNftHandler registers the http handlers for service Nft to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterNftHandlerClient

func RegisterNftHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NftClient) error

RegisterNftHandlerClient registers the http handlers for service Nft to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NftClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NftClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NftClient" to call the correct interceptors.

func RegisterNftHandlerFromEndpoint

func RegisterNftHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterNftHandlerFromEndpoint is same as RegisterNftHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterNftHandlerServer

func RegisterNftHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NftServer) error

RegisterNftHandlerServer registers the http handlers for service Nft to "mux". UnaryRPC :call NftServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterNftHandlerFromEndpoint instead.

func RegisterNftServer

func RegisterNftServer(s grpc.ServiceRegistrar, srv NftServer)

Types

type BaseService

type BaseService struct {
	Logger      zerolog.Logger
	ImageClient apiclient.ImageDownloadClient
}

func NewBaseService

func NewBaseService(ctx context.Context, image apiclient.ImageDownloadClient) (b BaseService, err error)

type ContractWithToken

type ContractWithToken struct {
	NftContract *data.NFTContract `protobuf:"bytes,1,opt,name=nft_contract,json=nftContract,proto3" json:"nft_contract,omitempty"`
	Tokens      []*TokenMini      `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractWithToken) Descriptor deprecated

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

Deprecated: Use ContractWithToken.ProtoReflect.Descriptor instead.

func (*ContractWithToken) GetNftContract

func (x *ContractWithToken) GetNftContract() *data.NFTContract

func (*ContractWithToken) GetTokens

func (x *ContractWithToken) GetTokens() []*TokenMini

func (*ContractWithToken) ProtoMessage

func (*ContractWithToken) ProtoMessage()

func (*ContractWithToken) ProtoReflect

func (x *ContractWithToken) ProtoReflect() protoreflect.Message

func (*ContractWithToken) Reset

func (x *ContractWithToken) Reset()

func (*ContractWithToken) String

func (x *ContractWithToken) String() string

type GetNftContractRequest

type GetNftContractRequest struct {
	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNftContractRequest) Descriptor deprecated

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

Deprecated: Use GetNftContractRequest.ProtoReflect.Descriptor instead.

func (*GetNftContractRequest) GetContractAddress

func (x *GetNftContractRequest) GetContractAddress() string

func (*GetNftContractRequest) ProtoMessage

func (*GetNftContractRequest) ProtoMessage()

func (*GetNftContractRequest) ProtoReflect

func (x *GetNftContractRequest) ProtoReflect() protoreflect.Message

func (*GetNftContractRequest) Reset

func (x *GetNftContractRequest) Reset()

func (*GetNftContractRequest) String

func (x *GetNftContractRequest) String() string

func (*GetNftContractRequest) ValidateBasic

func (r *GetNftContractRequest) ValidateBasic() error

type GetNftContractResponse

type GetNftContractResponse struct {
	Nft *data.NFTContract `protobuf:"bytes,1,opt,name=nft,proto3" json:"nft,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNftContractResponse) Descriptor deprecated

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

Deprecated: Use GetNftContractResponse.ProtoReflect.Descriptor instead.

func (*GetNftContractResponse) GetNft

func (*GetNftContractResponse) ProtoMessage

func (*GetNftContractResponse) ProtoMessage()

func (*GetNftContractResponse) ProtoReflect

func (x *GetNftContractResponse) ProtoReflect() protoreflect.Message

func (*GetNftContractResponse) Reset

func (x *GetNftContractResponse) Reset()

func (*GetNftContractResponse) String

func (x *GetNftContractResponse) String() string

type GetNftTokenRequest

type GetNftTokenRequest struct {
	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	TokenId         string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNftTokenRequest) Descriptor deprecated

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

Deprecated: Use GetNftTokenRequest.ProtoReflect.Descriptor instead.

func (*GetNftTokenRequest) GetContractAddress

func (x *GetNftTokenRequest) GetContractAddress() string

func (*GetNftTokenRequest) GetTokenId

func (x *GetNftTokenRequest) GetTokenId() string

func (*GetNftTokenRequest) ProtoMessage

func (*GetNftTokenRequest) ProtoMessage()

func (*GetNftTokenRequest) ProtoReflect

func (x *GetNftTokenRequest) ProtoReflect() protoreflect.Message

func (*GetNftTokenRequest) Reset

func (x *GetNftTokenRequest) Reset()

func (*GetNftTokenRequest) String

func (x *GetNftTokenRequest) String() string

func (*GetNftTokenRequest) ValidateBasic

func (r *GetNftTokenRequest) ValidateBasic() error

type GetNftTokenResponse

type GetNftTokenResponse struct {
	Token             *data.Token             `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	TransferHistories []*data.TransferHistory `protobuf:"bytes,2,rep,name=transfer_histories,json=transferHistories,proto3" json:"transfer_histories,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNftTokenResponse) Descriptor deprecated

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

Deprecated: Use GetNftTokenResponse.ProtoReflect.Descriptor instead.

func (*GetNftTokenResponse) GetToken

func (x *GetNftTokenResponse) GetToken() *data.Token

func (*GetNftTokenResponse) GetTransferHistories

func (x *GetNftTokenResponse) GetTransferHistories() []*data.TransferHistory

func (*GetNftTokenResponse) ProtoMessage

func (*GetNftTokenResponse) ProtoMessage()

func (*GetNftTokenResponse) ProtoReflect

func (x *GetNftTokenResponse) ProtoReflect() protoreflect.Message

func (*GetNftTokenResponse) Reset

func (x *GetNftTokenResponse) Reset()

func (*GetNftTokenResponse) String

func (x *GetNftTokenResponse) String() string

type HolderClient

type HolderClient interface {
	ListHolderNftToken(ctx context.Context, in *ListHolderNftTokenRequest, opts ...grpc.CallOption) (*ListHolderNftTokenResponse, error)
	ListHolderAllNftToken(ctx context.Context, in *ListHolderAllNftTokenRequest, opts ...grpc.CallOption) (*ListHolderAllNftTokenResponse, error)
}

HolderClient is the client API for Holder service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewHolderClient

func NewHolderClient(cc grpc.ClientConnInterface) HolderClient

type HolderServer

type HolderServer interface {
	ListHolderNftToken(context.Context, *ListHolderNftTokenRequest) (*ListHolderNftTokenResponse, error)
	ListHolderAllNftToken(context.Context, *ListHolderAllNftTokenRequest) (*ListHolderAllNftTokenResponse, error)
}

HolderServer is the server API for Holder service. All implementations should embed UnimplementedHolderServer for forward compatibility

func NewHolderService

func NewHolderService(base *BaseService) HolderServer

type HolderService

type HolderService struct {
	*BaseService
}

func (*HolderService) ListHolderAllNftToken

func (*HolderService) ListHolderNftToken

type ListAllNftContractRequest

type ListAllNftContractRequest struct {
	// contains filtered or unexported fields
}

func (*ListAllNftContractRequest) Descriptor deprecated

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

Deprecated: Use ListAllNftContractRequest.ProtoReflect.Descriptor instead.

func (*ListAllNftContractRequest) ProtoMessage

func (*ListAllNftContractRequest) ProtoMessage()

func (*ListAllNftContractRequest) ProtoReflect

func (*ListAllNftContractRequest) Reset

func (x *ListAllNftContractRequest) Reset()

func (*ListAllNftContractRequest) String

func (x *ListAllNftContractRequest) String() string

type ListAllNftContractResponse

type ListAllNftContractResponse struct {
	Nfts []*data.NFTContract `protobuf:"bytes,1,rep,name=nfts,proto3" json:"nfts,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAllNftContractResponse) Descriptor deprecated

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

Deprecated: Use ListAllNftContractResponse.ProtoReflect.Descriptor instead.

func (*ListAllNftContractResponse) GetNfts

func (*ListAllNftContractResponse) ProtoMessage

func (*ListAllNftContractResponse) ProtoMessage()

func (*ListAllNftContractResponse) ProtoReflect

func (*ListAllNftContractResponse) Reset

func (x *ListAllNftContractResponse) Reset()

func (*ListAllNftContractResponse) String

func (x *ListAllNftContractResponse) String() string

type ListAllNftTokenRequest

type ListAllNftTokenRequest struct {
	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAllNftTokenRequest) Descriptor deprecated

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

Deprecated: Use ListAllNftTokenRequest.ProtoReflect.Descriptor instead.

func (*ListAllNftTokenRequest) GetContractAddress

func (x *ListAllNftTokenRequest) GetContractAddress() string

func (*ListAllNftTokenRequest) ProtoMessage

func (*ListAllNftTokenRequest) ProtoMessage()

func (*ListAllNftTokenRequest) ProtoReflect

func (x *ListAllNftTokenRequest) ProtoReflect() protoreflect.Message

func (*ListAllNftTokenRequest) Reset

func (x *ListAllNftTokenRequest) Reset()

func (*ListAllNftTokenRequest) String

func (x *ListAllNftTokenRequest) String() string

func (*ListAllNftTokenRequest) ValidateBasic

func (r *ListAllNftTokenRequest) ValidateBasic() error

type ListAllNftTokenResponse

type ListAllNftTokenResponse struct {
	Tokens []*TokenMini `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAllNftTokenResponse) Descriptor deprecated

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

Deprecated: Use ListAllNftTokenResponse.ProtoReflect.Descriptor instead.

func (*ListAllNftTokenResponse) GetTokens

func (x *ListAllNftTokenResponse) GetTokens() []*TokenMini

func (*ListAllNftTokenResponse) ProtoMessage

func (*ListAllNftTokenResponse) ProtoMessage()

func (*ListAllNftTokenResponse) ProtoReflect

func (x *ListAllNftTokenResponse) ProtoReflect() protoreflect.Message

func (*ListAllNftTokenResponse) Reset

func (x *ListAllNftTokenResponse) Reset()

func (*ListAllNftTokenResponse) String

func (x *ListAllNftTokenResponse) String() string

type ListHolderAllNftTokenRequest

type ListHolderAllNftTokenRequest struct {
	WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHolderAllNftTokenRequest) Descriptor deprecated

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

Deprecated: Use ListHolderAllNftTokenRequest.ProtoReflect.Descriptor instead.

func (*ListHolderAllNftTokenRequest) GetWalletAddress

func (x *ListHolderAllNftTokenRequest) GetWalletAddress() string

func (*ListHolderAllNftTokenRequest) ProtoMessage

func (*ListHolderAllNftTokenRequest) ProtoMessage()

func (*ListHolderAllNftTokenRequest) ProtoReflect

func (*ListHolderAllNftTokenRequest) Reset

func (x *ListHolderAllNftTokenRequest) Reset()

func (*ListHolderAllNftTokenRequest) String

func (*ListHolderAllNftTokenRequest) ValidateBasic

func (r *ListHolderAllNftTokenRequest) ValidateBasic() error

type ListHolderAllNftTokenResponse

type ListHolderAllNftTokenResponse struct {
	NftContracts []*ContractWithToken `protobuf:"bytes,1,rep,name=nft_contracts,json=nftContracts,proto3" json:"nft_contracts,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHolderAllNftTokenResponse) Descriptor deprecated

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

Deprecated: Use ListHolderAllNftTokenResponse.ProtoReflect.Descriptor instead.

func (*ListHolderAllNftTokenResponse) GetNftContracts

func (x *ListHolderAllNftTokenResponse) GetNftContracts() []*ContractWithToken

func (*ListHolderAllNftTokenResponse) ProtoMessage

func (*ListHolderAllNftTokenResponse) ProtoMessage()

func (*ListHolderAllNftTokenResponse) ProtoReflect

func (*ListHolderAllNftTokenResponse) Reset

func (x *ListHolderAllNftTokenResponse) Reset()

func (*ListHolderAllNftTokenResponse) String

type ListHolderNftTokenRequest

type ListHolderNftTokenRequest struct {
	WalletAddress   string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"`
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHolderNftTokenRequest) Descriptor deprecated

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

Deprecated: Use ListHolderNftTokenRequest.ProtoReflect.Descriptor instead.

func (*ListHolderNftTokenRequest) GetContractAddress

func (x *ListHolderNftTokenRequest) GetContractAddress() string

func (*ListHolderNftTokenRequest) GetWalletAddress

func (x *ListHolderNftTokenRequest) GetWalletAddress() string

func (*ListHolderNftTokenRequest) ProtoMessage

func (*ListHolderNftTokenRequest) ProtoMessage()

func (*ListHolderNftTokenRequest) ProtoReflect

func (*ListHolderNftTokenRequest) Reset

func (x *ListHolderNftTokenRequest) Reset()

func (*ListHolderNftTokenRequest) String

func (x *ListHolderNftTokenRequest) String() string

func (*ListHolderNftTokenRequest) ValidateBasic

func (r *ListHolderNftTokenRequest) ValidateBasic() error

type ListHolderNftTokenResponse

type ListHolderNftTokenResponse struct {
	NftContract *data.NFTContract `protobuf:"bytes,1,opt,name=nft_contract,json=nftContract,proto3" json:"nft_contract,omitempty"`
	Tokens      []*TokenMini      `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHolderNftTokenResponse) Descriptor deprecated

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

Deprecated: Use ListHolderNftTokenResponse.ProtoReflect.Descriptor instead.

func (*ListHolderNftTokenResponse) GetNftContract

func (x *ListHolderNftTokenResponse) GetNftContract() *data.NFTContract

func (*ListHolderNftTokenResponse) GetTokens

func (x *ListHolderNftTokenResponse) GetTokens() []*TokenMini

func (*ListHolderNftTokenResponse) ProtoMessage

func (*ListHolderNftTokenResponse) ProtoMessage()

func (*ListHolderNftTokenResponse) ProtoReflect

func (*ListHolderNftTokenResponse) Reset

func (x *ListHolderNftTokenResponse) Reset()

func (*ListHolderNftTokenResponse) String

func (x *ListHolderNftTokenResponse) String() string

type NftClient

type NftClient interface {
	GetNftContract(ctx context.Context, in *GetNftContractRequest, opts ...grpc.CallOption) (*GetNftContractResponse, error)
	ListAllNftContract(ctx context.Context, in *ListAllNftContractRequest, opts ...grpc.CallOption) (*ListAllNftContractResponse, error)
	GetNftToken(ctx context.Context, in *GetNftTokenRequest, opts ...grpc.CallOption) (*GetNftTokenResponse, error)
	ListAllNftToken(ctx context.Context, in *ListAllNftTokenRequest, opts ...grpc.CallOption) (*ListAllNftTokenResponse, error)
}

NftClient is the client API for Nft service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewNftClient

func NewNftClient(cc grpc.ClientConnInterface) NftClient

type NftServer

NftServer is the server API for Nft service. All implementations should embed UnimplementedNftServer for forward compatibility

func NewNftService

func NewNftService(base *BaseService) NftServer

type NftService

type NftService struct {
	*BaseService
}

func (*NftService) GetNftContract

func (*NftService) GetNftToken

func (s *NftService) GetNftToken(ctx context.Context, req *GetNftTokenRequest) (*GetNftTokenResponse, error)

func (*NftService) ListAllNftContract

func (*NftService) ListAllNftToken

type TokenMini

type TokenMini struct {
	TokenId string          `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	Owner   string          `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Meta    *data.TokenMeta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenMini) Descriptor deprecated

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

Deprecated: Use TokenMini.ProtoReflect.Descriptor instead.

func (*TokenMini) GetMeta

func (x *TokenMini) GetMeta() *data.TokenMeta

func (*TokenMini) GetOwner

func (x *TokenMini) GetOwner() string

func (*TokenMini) GetTokenId

func (x *TokenMini) GetTokenId() string

func (*TokenMini) ProtoMessage

func (*TokenMini) ProtoMessage()

func (*TokenMini) ProtoReflect

func (x *TokenMini) ProtoReflect() protoreflect.Message

func (*TokenMini) Reset

func (x *TokenMini) Reset()

func (*TokenMini) String

func (x *TokenMini) String() string

type UnimplementedHolderServer

type UnimplementedHolderServer struct {
}

UnimplementedHolderServer should be embedded to have forward compatible implementations.

type UnimplementedNftServer

type UnimplementedNftServer struct {
}

UnimplementedNftServer should be embedded to have forward compatible implementations.

func (UnimplementedNftServer) GetNftContract

func (UnimplementedNftServer) GetNftToken

func (UnimplementedNftServer) ListAllNftToken

type UnsafeHolderServer

type UnsafeHolderServer interface {
	// contains filtered or unexported methods
}

UnsafeHolderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HolderServer will result in compilation errors.

type UnsafeNftServer

type UnsafeNftServer interface {
	// contains filtered or unexported methods
}

UnsafeNftServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NftServer will result in compilation errors.

Jump to

Keyboard shortcuts

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