Documentation ¶
Index ¶
- type CommonRequest
- type IInternalRpcServices
- type InternalRpcConfig
- type InternalRpcServices
- func (rpc *InternalRpcServices) GetAddressInfo(ctx context.Context, req *protobuf.AddressInfoReq) (*protobuf.AddressInfoRep, error)
- func (rpc *InternalRpcServices) GetNftCollectionsInfo(ctx context.Context, req *protobuf.NftCollectionsInfoReq) (*protobuf.NftCollectionsInfoRep, error)
- func (rpc *InternalRpcServices) GetNftInfo(ctx context.Context, req *protobuf.NftInfoReq) (*protobuf.NftInfoRep, error)
- func (rpc *InternalRpcServices) Start() error
- func (rpc *InternalRpcServices) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonRequest ¶
type CommonRequest interface {
GetConsumerToken() string
}
type IInternalRpcServices ¶
type IInternalRpcServices interface { GetAddressInfo(ctx context.Context, req *protobuf.AddressInfoReq) (*protobuf.AddressInfoRep, error) GetNftCollectionsInfo(ctx context.Context, req *protobuf.NftCollectionsInfoReq) (*protobuf.NftCollectionsInfoRep, error) GetNftInfo(ctx context.Context, req *protobuf.NftInfoReq) (*protobuf.NftInfoRep, error) }
type InternalRpcConfig ¶
type InternalRpcServices ¶
type InternalRpcServices struct { Ctx context.Context Cfg *InternalRpcConfig IInternalRpcServices // contains filtered or unexported fields }
func NewIndexerRPCServices ¶
func NewIndexerRPCServices(ctx context.Context, cfg *InternalRpcConfig) (*InternalRpcServices, error)
func (*InternalRpcServices) GetAddressInfo ¶
func (rpc *InternalRpcServices) GetAddressInfo(ctx context.Context, req *protobuf.AddressInfoReq) (*protobuf.AddressInfoRep, error)
func (*InternalRpcServices) GetNftCollectionsInfo ¶
func (rpc *InternalRpcServices) GetNftCollectionsInfo(ctx context.Context, req *protobuf.NftCollectionsInfoReq) (*protobuf.NftCollectionsInfoRep, error)
func (*InternalRpcServices) GetNftInfo ¶
func (rpc *InternalRpcServices) GetNftInfo(ctx context.Context, req *protobuf.NftInfoReq) (*protobuf.NftInfoRep, error)
func (*InternalRpcServices) Start ¶
func (rpc *InternalRpcServices) Start() error
func (*InternalRpcServices) Stop ¶
func (rpc *InternalRpcServices) Stop()
Click to show internal directories.
Click to hide internal directories.