Documentation
¶
Index ¶
- type ChannelState
- type Storage
- func (s *Storage) GenerateBloomFileName(feedURL string, channel string) string
- func (s *Storage) GetBloomFilePath(feedURL string, channel string) string
- func (s *Storage) GetLastUpdated(feedURL string, channel string) time.Time
- func (s *Storage) IsItemSeen(feedURL, feedName, channel, itemID string) bool
- func (s *Storage) MarkItemSeen(feedURL, feedName, channel, itemID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelState ¶
type ChannelState struct {
// contains filtered or unexported fields
}
type Storage ¶
func (*Storage) GenerateBloomFileName ¶
生成布隆过滤器的文件名
func (*Storage) GetBloomFilePath ¶
GetBloomFilePath 获取bloom过滤器的文件路径
func (*Storage) GetLastUpdated ¶
func (*Storage) IsItemSeen ¶
检查item是否已经被处理
func (*Storage) MarkItemSeen ¶
标记item为已处理
Click to show internal directories.
Click to hide internal directories.