Documentation ¶
Overview ¶
Package service service for twitter API
Index ¶
- func Initialize(ctx context.Context)
- type Type
- func (s *Type) LoadThreadByTweetID(id string) (tweets []*model.Tweet, err error)
- func (s *Type) LoadTweetByTwitterID(id string) (tweet *model.Tweet, err error)
- func (s *Type) LoadTweetReplys(tweetID string) (replys []*model.Tweet, err error)
- func (s *Type) LoadTweets(cfg *dto.LoadTweetArgs) (results []*model.Tweet, err error)
- func (s *Type) LoadUserByID(id string) (user *model.User, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Types ¶
type Type ¶
type Type struct {
// contains filtered or unexported fields
}
var Instance *Type
func (*Type) LoadThreadByTweetID ¶
func (*Type) LoadTweetByTwitterID ¶
func (*Type) LoadTweetReplys ¶
func (*Type) LoadTweets ¶
Click to show internal directories.
Click to hide internal directories.