Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
func New ¶
New creates a new Store instance with the given database connection. If db is nil, it opens a SQLite database at the default path "db.sqlite". Deprecated: Use NewWithPath to specify a custom database path.
func NewWithPath ¶ added in v0.2.3
NewWithPath creates a new Store instance with a database at the specified path. If path is empty, it defaults to "db.sqlite".
func (*Store) HasMagnetByXt ¶ added in v0.1.7
@TODO 替换 HasItem. 注意目前 magnet 存的长度是 VARCHAR(255)。有tracker的长URI会存不了.
func (*Store) SaveMagnetItems ¶
func (s *Store) SaveMagnetItems(items []rsssite.MagnetItem) error
Click to show internal directories.
Click to hide internal directories.