Documentation ¶
Index ¶
- func DBmongoCreateBulkAlchemyNFTs(pNFTsLst []*gf_nft_extern_services.GFnftAlchemy, pMetrics *GFmetrics, ...) *gf_core.GFerror
- func DBmongoCreateBulkNFTs(pNFTsLst []*GFnft, pMetrics *GFmetrics, pCtx context.Context, ...) *gf_core.GFerror
- func DBmongoUpdateGFimageProps(pNFTid gf_core.GF_ID, pGFimageID gf_images_core.GFimageID, ...) *gf_core.GFerror
- func InitHandlers(pKeyServer *gf_identity_core.GFkeyServerInfo, pHTTPmux *http.ServeMux, ...) *gf_core.GFerror
- func TgetByOwner(pAddressStr string, pChainStr string, pCookiesLst []*http.Cookie, ...)
- func TindexAddress(pAddressStr string, pChainStr string, pCookiesLst []*http.Cookie, ...)
- type GFgetByOwnerInput
- type GFgetInput
- type GFindexAddressInput
- type GFmetrics
- type GFnft
- type GFnftExtern
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBmongoCreateBulkAlchemyNFTs ¶
func DBmongoCreateBulkAlchemyNFTs(pNFTsLst []*gf_nft_extern_services.GFnftAlchemy, pMetrics *GFmetrics, pCtx context.Context, pRuntimeSys *gf_core.RuntimeSys) *gf_core.GFerror
func DBmongoCreateBulkNFTs ¶
func InitHandlers ¶
func InitHandlers(pKeyServer *gf_identity_core.GFkeyServerInfo, pHTTPmux *http.ServeMux, pConfig *gf_eth_core.GF_config, pImagesJobsMngrCh chan gf_images_jobs_core.JobMsg, pRuntimeSys *gf_core.RuntimeSys) *gf_core.GFerror
func TgetByOwner ¶
Types ¶
type GFgetByOwnerInput ¶
type GFgetInput ¶
type GFindexAddressInput ¶
type GFmetrics ¶
type GFmetrics struct { NftDBinsertsCount prometheus.Counter NftAlchemyDBinsertsCount prometheus.Counter }
func MetricsCreate ¶
func MetricsCreate() *GFmetrics
type GFnft ¶
type GFnft struct { Vstr string `bson:"v_str"` // schema_version Id primitive.ObjectID `bson:"_id,omitempty"` IDstr gf_core.GF_ID `bson:"id_str"` DeletedBool bool `bson:"deleted_bool"` CreationUNIXtimeF float64 `bson:"creation_unix_time_f"` OwnerAddressStr string `bson:"owner_address_str"` TokenIDstr string `bson:"token_id_str"` ContractAddressStr string `bson:"contract_address_str"` ContractNameStr string `bson:"contract_name_str"` ChainStr string `bson:"chain_str"` // URIs TokenURIrawStr string `bson:"token_uri_raw_str"` MediaURIrawStr string `bson:"media_uri_raw_str"` // GATEWAY_URIs TokenURIgatewayStr string `bson:"token_uri_gateway_str"` MediaURIgatewayStr string `bson:"media_uri_gateway_str"` GFimageID gf_images_core.GFimageID `bson:"gf_image_id_str"` GFimageThumbURLstr string `bson:"gf_image_thumb_url_str"` OpenSeaIDstr gf_core.GF_ID `bson:"open_sea_id_str"` AlchemyIDstr gf_core.GF_ID `bson:"alchemy_id_str"` }
type GFnftExtern ¶
type GFnftExtern struct { OwnerAddressStr string `json:"owner_address_str"` TokenIDstr string `json:"token_id_str"` ContractAddressStr string `json:"contract_address_str"` ContractNameStr string `json:"contract_name_str"` ChainStr string `json:"chain_str"` TokenURIrawStr string `json:"token_uri_raw_str"` MediaURIrawStr string `json:"media_uri_raw_str"` // GATEWAY_URIs TokenURIgatewayStr string `json:"token_uri_gateway_str"` MediaURIgatewayStr string `json:"media_uri_gateway_str"` GFimageID gf_images_core.GFimageID `json:"gf_image_id_str"` GFimageThumbURLstr string `json:"gf_image_thumb_url_str"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.