Documentation ¶
Index ¶
- type DataDB
- type InfoState
- type Manager
- func (cm *Manager) FetchCommunityInfo(communityID string) (*thirdparty.CommunityInfo, error)
- 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 ¶
This section is empty.
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 NewManager(db *sql.DB, mediaServer *server.MediaServer) *Manager
func (*Manager) FetchCommunityInfo ¶ added in v0.171.34
func (cm *Manager) FetchCommunityInfo(communityID string) (*thirdparty.CommunityInfo, error)
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.