Documentation ¶
Index ¶
- Constants
- type Data
- type DataDB
- type InfoState
- type Manager
- func (cm *Manager) FetchCommunityInfo(communityID string) (*thirdparty.CommunityInfo, error)
- func (cm *Manager) FetchCommunityMetadataAsync(communityID string)
- func (cm *Manager) FillCollectibleMetadata(c *thirdparty.FullCollectibleData) error
- func (cm *Manager) GetCommunityID(tokenURI string) string
- func (cm *Manager) GetCommunityInfo(id string) (*thirdparty.CommunityInfo, *InfoState, error)
- func (cm *Manager) SetCommunityInfoProvider(communityInfoProvider thirdparty.CommunityInfoProvider)
Constants ¶
View Source
const (
EventCommmunityDataUpdated walletevent.EventType = "wallet-community-data-updated"
)
These events are used to notify the UI of state changes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataDB ¶
type DataDB struct {
// contains filtered or unexported fields
}
func (*DataDB) GetCommunityInfo ¶
func (o *DataDB) GetCommunityInfo(id string) (*thirdparty.CommunityInfo, *InfoState, error)
func (*DataDB) SetCommunityInfo ¶
func (o *DataDB) SetCommunityInfo(id string, c *thirdparty.CommunityInfo) (err error)
type Manager ¶ added in v0.171.34
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶ added in v0.171.34
func (*Manager) FetchCommunityInfo ¶ added in v0.171.34
func (cm *Manager) FetchCommunityInfo(communityID string) (*thirdparty.CommunityInfo, error)
func (*Manager) FetchCommunityMetadataAsync ¶ added in v0.171.39
func (*Manager) FillCollectibleMetadata ¶ added in v0.171.34
func (cm *Manager) FillCollectibleMetadata(c *thirdparty.FullCollectibleData) error
func (*Manager) GetCommunityID ¶ added in v0.171.34
func (*Manager) GetCommunityInfo ¶ added in v0.171.34
func (cm *Manager) GetCommunityInfo(id string) (*thirdparty.CommunityInfo, *InfoState, error)
func (*Manager) SetCommunityInfoProvider ¶ added in v0.171.34
func (cm *Manager) SetCommunityInfoProvider(communityInfoProvider thirdparty.CommunityInfoProvider)
Used to break circular dependency, call once as soon as possible after initialization
Click to show internal directories.
Click to hide internal directories.