Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenNft ¶
type TokenNft struct { Id string `json:"id" gorm:"id"` Who string `json:"who" gorm:"who"` TokenId int64 `json:"tokenId" gorm:"token_id"` BusinessName string `json:"businessName" gorm:"business_name"` Description string `json:"description" gorm:"description"` ImgUrl string `json:"imgUrl" gorm:"img_url"` BusinessAddress string `json:"businessAddress" gorm:"business_address"` WebSite string `json:"webSite" gorm:"web_site"` Social string `json:"social" gorm:"social"` ContractAddress string `json:"contractAddress" gorm:"contract_address"` CostValue *big.Int `json:"costValue" gorm:"serializer:u256;column:cost_value"` Deadline uint64 `json:"deadline" gorm:"deadline"` NftType int8 `json:"nftType" gorm:"nft_type"` }
type TokenNftDB ¶
type TokenNftDB interface { TokenNftView StoreTokenNft(token TokenNft) error }
func NewTokenNftDB ¶
func NewTokenNftDB(db *gorm.DB) TokenNftDB
Click to show internal directories.
Click to hide internal directories.