Documentation ¶
Index ¶
- type CommonRequest
- type ILawRpcServices
- type LawRPCConfig
- type LawRPCServices
- func (rpc *LawRPCServices) GetGiantWhaleWalletAddressLaw(ctx context.Context, req *protobuf.GiantWhaleWalletAddressLawReq) (*protobuf.GiantWhaleWalletAddressLawRep, error)
- func (rpc *LawRPCServices) GetNftCollectionsLaw(ctx context.Context, req *protobuf.NftCollectionsLawReq) (*protobuf.NftCollectionsLawRep, error)
- func (rpc *LawRPCServices) GetSingleNftLaw(ctx context.Context, req *protobuf.SingleNftLawReq) (*protobuf.SingleNftLawRep, error)
- func (rpc *LawRPCServices) Start() error
- func (rpc *LawRPCServices) 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 ILawRpcServices ¶
type ILawRpcServices interface { GetGiantWhaleWalletAddressLaw(ctx context.Context, req *protobuf.GiantWhaleWalletAddressLawReq) (*protobuf.GiantWhaleWalletAddressLawRep, error) GetNftCollectionsLaw(ctx context.Context, req *protobuf.NftCollectionsLawReq) (*protobuf.NftCollectionsLawRep, error) GetSingleNftLaw(ctx context.Context, req *protobuf.SingleNftLawReq) (*protobuf.SingleNftLawRep, error) }
type LawRPCServices ¶
type LawRPCServices struct { Ctx context.Context Cfg *LawRPCConfig ILawRpcServices // contains filtered or unexported fields }
func NewLawRPCServices ¶
func NewLawRPCServices(ctx context.Context, cfg *LawRPCConfig) (*LawRPCServices, error)
func (*LawRPCServices) GetGiantWhaleWalletAddressLaw ¶
func (rpc *LawRPCServices) GetGiantWhaleWalletAddressLaw(ctx context.Context, req *protobuf.GiantWhaleWalletAddressLawReq) (*protobuf.GiantWhaleWalletAddressLawRep, error)
func (*LawRPCServices) GetNftCollectionsLaw ¶
func (rpc *LawRPCServices) GetNftCollectionsLaw(ctx context.Context, req *protobuf.NftCollectionsLawReq) (*protobuf.NftCollectionsLawRep, error)
func (*LawRPCServices) GetSingleNftLaw ¶
func (rpc *LawRPCServices) GetSingleNftLaw(ctx context.Context, req *protobuf.SingleNftLawReq) (*protobuf.SingleNftLawRep, error)
func (*LawRPCServices) Start ¶
func (rpc *LawRPCServices) Start() error
func (*LawRPCServices) Stop ¶
func (rpc *LawRPCServices) Stop()
Click to show internal directories.
Click to hide internal directories.