Documentation ¶
Index ¶
- Variables
- func GetTweetPath(sourceURL string) string
- type Author
- type FxTwitterApiResp
- type Media
- type MediaItem
- type Tweet
- type Twitter
- func (t *Twitter) Config() *config.SourceCommonConfig
- func (t *Twitter) FetchNewArtworks(limit int) ([]*types.Artwork, error)
- func (t *Twitter) FetchNewArtworksWithCh(artworkCh chan *types.Artwork, limit int) error
- func (t *Twitter) GetArtworkInfo(sourceURL string) (*types.Artwork, error)
- func (t *Twitter) GetCommonSourceURL(url string) string
- func (t *Twitter) GetFileName(artwork *types.Artwork, picture *types.Picture) string
- func (t *Twitter) GetPictureInfo(sourceURL string, index uint) (*types.Picture, error)
- func (t *Twitter) GetSourceURLRegexp() *regexp.Regexp
- func (t *Twitter) Init()
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetTweetPath ¶
Types ¶
type FxTwitterApiResp ¶
type Twitter ¶
type Twitter struct{}
func (*Twitter) Config ¶
func (t *Twitter) Config() *config.SourceCommonConfig
func (*Twitter) FetchNewArtworks ¶
func (*Twitter) FetchNewArtworksWithCh ¶
func (*Twitter) GetArtworkInfo ¶
func (*Twitter) GetCommonSourceURL ¶
func (*Twitter) GetFileName ¶
func (*Twitter) GetPictureInfo ¶
func (*Twitter) GetSourceURLRegexp ¶
Click to show internal directories.
Click to hide internal directories.