Documentation ¶
Index ¶
- type TikTokDB
- func (db *TikTokDB) Close()
- func (db *TikTokDB) GetAwemeList(userID string) ([]scraperapi.Aweme, error)
- func (db *TikTokDB) GetUser(userID string) (*scraperapi.User, error)
- func (db *TikTokDB) GetUserIDList() ([]string, error)
- func (db *TikTokDB) Open() error
- func (db *TikTokDB) SetAwemeList(userID string, awemeList []scraperapi.Aweme) error
- func (db *TikTokDB) SetUser(userID string, user *scraperapi.User) error
- func (db *TikTokDB) SetUserIDList(userIDList []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TikTokDB ¶
type TikTokDB struct { Lmdb *lmdb.LMDBClient // contains filtered or unexported fields }
func (*TikTokDB) GetAwemeList ¶
func (db *TikTokDB) GetAwemeList(userID string) ([]scraperapi.Aweme, error)
func (*TikTokDB) GetUserIDList ¶
func (*TikTokDB) SetAwemeList ¶
func (db *TikTokDB) SetAwemeList(userID string, awemeList []scraperapi.Aweme) error
func (*TikTokDB) SetUserIDList ¶
Click to show internal directories.
Click to hide internal directories.