Documentation
¶
Index ¶
- func HideUnseedFeeds(ctx context.Context, atx tldb.Adapter, found []int) (int, error)
- func HideUnseedOperators(atx tldb.Adapter, found []int) (int, error)
- func UpdateFeed(ctx context.Context, atx tldb.Adapter, rfeed dmfr.Feed, setPublic *bool) (int, bool, bool, error)
- func UpdateFeedGeneratedOperators(ctx context.Context, atx tldb.Adapter, found []int) error
- func UpdateOperator(ctx context.Context, atx tldb.Adapter, operator dmfr.Operator) (int, bool, bool, error)
- type Options
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HideUnseedFeeds ¶
HideUnseedFeeds .
func HideUnseedOperators ¶
HideUnseedOperators .
func UpdateFeed ¶
func UpdateFeed(ctx context.Context, atx tldb.Adapter, rfeed dmfr.Feed, setPublic *bool) (int, bool, bool, error)
UpdateFeed .
func UpdateFeedGeneratedOperators ¶
UpdateFeedGeneratedOperators creates OperatorInFeed records for agencies that are not associated with an operator
Types ¶
type Options ¶
type Options struct {
Filenames []string
Registries []*dmfr.Registry // Pre-parsed registries (e.g., from stdin)
HideUnseen bool
HideUnseenOperators bool
SetPublic *bool // nil=default (new feeds public, existing unchanged), true=force public, false=force private
}
Options sets options for a sync operation.
Click to show internal directories.
Click to hide internal directories.