Documentation ¶
Index ¶
- type Server
- func (s *Server) AddUsername(username string) error
- func (s *Server) FetchAllVideos(userID string) error
- func (s *Server) FetchVideo(a *scraperapi.Aweme) (string, error)
- func (s *Server) FullUpdate(userID string) error
- func (s *Server) GenerateCommentedVideo(a *scraperapi.Aweme, commentUsername, commentText, imagePath string) (string, error)
- func (s *Server) RemoveUsername(username string) error
- func (s *Server) Run() error
- func (s *Server) Update(userID string) error
- func (s *Server) UpdateAllDaily() error
- func (s *Server) UpdateAllOnce() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { DB *db.TikTokDB Scraper *scraperapi.Scraper Fetcher *fetcherapi.Fetcher VideoStorage storer.Storer CommentStorage storer.Storer ResultStorage storer.Storer }
func (*Server) AddUsername ¶
func (*Server) FetchAllVideos ¶
func (*Server) FetchVideo ¶
func (s *Server) FetchVideo(a *scraperapi.Aweme) (string, error)
func (*Server) FullUpdate ¶
func (*Server) GenerateCommentedVideo ¶
func (*Server) RemoveUsername ¶
func (*Server) UpdateAllDaily ¶
func (*Server) UpdateAllOnce ¶
Click to show internal directories.
Click to hide internal directories.