Versions in this module Expand all Collapse all v0 v0.0.2 Nov 12, 2024 v0.0.1 Oct 3, 2024 Changes in this version + func FeedsPublicationLogsDatabaseSchemes() []string + func RegisterFeedsPublicationLogsDatabase(ctx context.Context, scheme string, ...) error + type DocstoreFeedsPublicationLogsDatabase struct + func (db *DocstoreFeedsPublicationLogsDatabase) AddPublicationLog(ctx context.Context, log *PublicationLog) error + func (db *DocstoreFeedsPublicationLogsDatabase) Close(ctx context.Context) error + func (db *DocstoreFeedsPublicationLogsDatabase) IsPublished(ctx context.Context, account_id int64, feed_url string, item_guid string) (bool, error) + type FeedsPublicationLogsDatabase interface + AddPublicationLog func(context.Context, *PublicationLog) error + Close func(context.Context) error + IsPublished func(context.Context, int64, string, string) (bool, error) + func NewDocstoreFeedsPublicationLogsDatabase(ctx context.Context, uri string) (FeedsPublicationLogsDatabase, error) + func NewFeedsPublicationLogsDatabase(ctx context.Context, uri string) (FeedsPublicationLogsDatabase, error) + func NewNullFeedsPublicationLogsDatabase(ctx context.Context, uri string) (FeedsPublicationLogsDatabase, error) + type FeedsPublicationLogsDatabaseInitializationFunc func(ctx context.Context, uri string) (FeedsPublicationLogsDatabase, error) + type NullFeedsPublicationLogsDatabase struct + func (db *NullFeedsPublicationLogsDatabase) AddPublicationLog(ctx context.Context, log *PublicationLog) error + func (db *NullFeedsPublicationLogsDatabase) Close(ctx context.Context) error + func (db *NullFeedsPublicationLogsDatabase) IsPublished(ctx context.Context, account_id int64, feed_url string, item_guid string) (bool, error) + type PublicationLog struct + AccountId int64 + FeedURL string + Id int64 + ItemGUID string + Published int64 + func NewPublicationLog(ctx context.Context, account_id int64, feed_url string, item_guid string) (*PublicationLog, error)