tw

package
v0.0.0-...-7c267da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tweet

type Tweet struct {
	ImageUrls map[string]string // url : filename
	VideoUrl  string
	TweetId   string
}

type TweetService

type TweetService interface {
	ParseTweet(string, io.Reader) (*Tweet, error)
}

type TweetServiceImpl

type TweetServiceImpl struct {
	// contains filtered or unexported fields
}

func NewTweetServiceImpl

func NewTweetServiceImpl(imageService image.ImageService, logger *util.TinyLogger) *TweetServiceImpl

func (*TweetServiceImpl) ParseTweet

func (svc *TweetServiceImpl) ParseTweet(tweetUrl string, r io.Reader) (*Tweet, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL