Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexerClient ¶
type IndexerClient struct { Ctx context.Context Cfg *IndexerClientConfig Client protobuf.IndexerRpcServiceClient Cancel func() }
func NewIndexerClient ¶
func NewIndexerClient(cfg *IndexerClientConfig) (*IndexerClient, error)
func (IndexerClient) GetLatestBlock ¶
func (ic IndexerClient) GetLatestBlock() (*protobuf.LatestBlockRep, error)
type IndexerClientConfig ¶
type IndexerClientConfig struct {
IndexerSocket string `json:"indexer_socket"`
}
type LawClient ¶
type LawClient struct { Ctx context.Context Cfg *LawClientConfig Client protobuf.LawRpcServiceClient Cancel func() }
func NewLawClient ¶
func NewLawClient(cfg *LawClientConfig) (*LawClient, error)
func (*LawClient) GetGiantWhaleWalletAddressLaw ¶
func (lc *LawClient) GetGiantWhaleWalletAddressLaw() (*protobuf.GiantWhaleWalletAddressLawRep, error)
func (*LawClient) GetNftCollectionsLaw ¶
func (lc *LawClient) GetNftCollectionsLaw() (*protobuf.NftCollectionsLawRep, error)
func (*LawClient) GetSingleNftLaw ¶
func (lc *LawClient) GetSingleNftLaw() (*protobuf.SingleNftLawRep, error)
type LawClientConfig ¶
type LawClientConfig struct {
LawSocket string `json:"law_socket"`
}
type ScrapyClient ¶
type ScrapyClient struct { Ctx context.Context Cfg *ScrapyClientConfig Client protobuf.GiantWhaleServiceClient Cancel func() }
func NewScrapyClient ¶
func NewScrapyClient(cfg *ScrapyClientConfig) (*ScrapyClient, error)
type ScrapyClientConfig ¶
type ScrapyClientConfig struct {
ScrapySocket string `json:"scrapy_socket"`
}
Click to show internal directories.
Click to hide internal directories.